Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.COMPILERS.LCC
lcc64 kernel32.lib
From
[email protected]
@21:1/5 to
All
on Thu Jan 7 11:50:57 2016
I do not see the kernel32.lib in the lib64 directory. Am I missing something?
I need to link with a function from kernel32.lib. Consider this program:
#include <windows.h>
int main()
{
long value = 1;
InterlockedExchange(&value, 0);
return 0;
}
When I compile with "lc", all is fine:
lc t.c
But with lc64, this error:
lc64 t.c
t.obj .text: undefined reference to '_InterlockedExchange'
linker returned 1
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Fred Blogs
Sun Nov 1 01:53:36 2026
from
Uk
via
SSH
Rixter
Sat Oct 31 23:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Sat Oct 31 21:42:41 2026
from
Wales, Uk
via
Telnet
Amstrad Ppc
Sat Oct 31 19:07:41 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sat Oct 31 17:11:55 2026
from
Wiltshire
via
Telnet
Ashenfieldx
Sat Oct 31 16:47:35 2026
from
Guelph, Ontario
via
Telnet
Amstrad Ppc
Sat Oct 31 16:34:27 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sat Oct 31 15:21:38 2026
from
Wiltshire
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
796
Nodes:
16 (
2
/
14
)
Uptime:
157:54:10
Calls:
13,194
Calls today:
1
Files:
15,485
Messages:
6,579,421