From: Paul Garceau <pgarceau@te...> - 2001-01-05 01:57:19
On 4 Jan 2001, at 11:52, the Illustrious Kittenberger, Axel wrote:
> However at these link errors I'm now completly stamped....
Hmm...are you using -mwindows or -mthreads as part of your gcc
command line? You need to do this when dealing with
multithreading. -mwindows is not required if you are simply
building a console app, however, it is required if you are
trying to build a native windows app (win32api based).
By using the -mthreads switch, you force the compiler to link
additional libraries specifically defined for multithreaded
> $ make
> i386-mingw32-dlltool --as i386-mingw32-as --output-def
> mingwthrd.def mthr.o mthr_init.o i386-mingw32-gcc
> -Wl,--base-file=mingwthrd.base -B./ -mdll
> -Wl,--image-base,0x6FBC0000 -Wl,--entry llMainCRTStartup@...
This last thing, if you must use it, needs to be
DllMainCRTStartup@..., as this defines the Windows OS entry point
Nothing real can be threatened.
Nothing unreal exists.
Get latest updates about Open Source Projects, Conferences and News.