Hi All,
I managed to get some form of dllexport support working in GCC 4.3.2
today, and successfully built Firefox 3.0-cvs using it
(http://smedley.info/mozilla.jpg) It required just a couple of extras
changes above those required to build using 3.4.6
There are still known issues with my current GCC 4.3.2 build:
- precompiled headers do not currently work
- no thread support in gcc.exe as I forgot to --enable-threads when
running configure - this will be fixed in the next drop
- for some strange reason, gcc fails to produce an executable where
there are libs added on the command line that are not required, ie
gcc -Zexe -Zomf -s conftest.c -lgcc FAILS
gcc -Zexe -Zomf -s conftest.c WORKS
- no support yet for the GOMP multiprocessor library
- link warning when using -Zomf - emxomf will require updating to deal
with the new stabs types, but according to Knut, the warnings can be
safely ignored
This build hasn't had huge amounts of testing, but has been used to
build Scribus, Firefox 3.0cvs and ffmpeg successfully. Any feedback on
things that work/don't work vs GCC 3.3.5 would be appreciated!
The binary itself can be downloaded from
http://download.smedley.info/gcc-4.3.2-os2-20081008.zip Please also
keep checking http;//os2ports.smedley.info for newer builds.
Feedback appreciated :)
Cheers,
Paul.
Source: Paul Smedley.