Hello all!
I'm trying to compile this small program:
int main()
{
return 0;
}
by these commands:
lcc test.c && lcclnk -nolibc -subsystem console -s test.obj
In the result I get the .exe which still requires the CRTDLL.DLL:
pedump /I test.exe Imports of test.exe 3104 bytes
Imports Table:
KERNEL32.dll
OrigFirstThunk: 00003090 (Unbound IAT) TimeDateStamp:
00000000 -> Thu Jan 01 03:00:00 1970 ForwarderChain: 00000000
First thunk RVA: 000030B4
Ordn Name
632 RtlUnwind
CRTDLL.DLL
OrigFirstThunk: 0000309C (Unbound IAT)
TimeDateStamp: 00000000 -> Thu Jan 01 03:00:00 1970
ForwarderChain: 00000000
First thunk RVA: 000030C0
Ordn Name 24 __GetMainArgs
522 exit
608 raise
618 signal
So, this option does nothing. How can I link without CRT?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)