|
From: Casper H. <ch...@us...> - 2002-05-18 21:05:43
|
l=F8r, 2002-05-18 kl. 21:42 skrev KJK::Hyperion: > At 19.17 18/05/2002, you wrote: > > > testfork.o(.text+0x43):testfork.c: undefined reference to `__main' > > > make: *** [testfork.nostrip.exe] Error 1 > >well, you need your custom __main function then. >=20 > erm... why exactly? I checked, and it's the damn *compiler* that inserts = a=20 > "call ___main" just after the stack frame setup in main(): Try examining the way drivers on ReactOS are built. They have no main symbol. smss.exe is a native application and has no gcc runtime library linked with it. It's entry point is NtProcessStartup. |