|
From: Paul S. <pa...@is...> - 2000-09-16 14:20:16
|
Hello Kai,
Kai Ruottu <kai...@lu...> wrote:
>> Tom Williams wrote:
>>
>> I think binutils and gcc can be hosted on ANY system (Unix or otherwise)
>> and still target Mingw32.......
KR> Probably so... I still have DOS/DJGPP2-hosted toolsets for producing Win32 and
KR> Win32s binaries under DOS. The 8+3 filenames forced me to use an 'emx-like' linker
KR> and leave the 'lib' away from the library names (the emx lib names don't use the
KR> 'lib' prefix either):
[]
KR> Also the install-dir names are shorter and with only one dot in them:
[]
O, old good days! I never built cross-djgpp-gcc myself (I once tried
to build native gcc on djgpp, and get COFF relocs overflow while
linking - I guess I get psychological traum that time and now afraid
of building gcc (on non-*nix platforms, I mean) ;-)). Instead, I used
RSXNT - nice thing, it built dlls in one pass! Unfortunately, it
didn't report undefined references during linking ;-)
Then, there was janjaap's gcc 2.8.1. It was stable, but didn't
support __declspec(dllimport). Since doing #define foo (*__imp_foo)
everytime was boring, I devised following solution: hacked dlltool to
not use ___imp_ prefix on import references, compiled my code in C++
mode and used #define DLL_IMPORT(foo) (&foo). Just imagine, how many
segfaults I get when missed to DLL_IMPORT'ize some symbol.
KR> I have always wondered if using the name 'Mingw' is allowed for a toolset
KR> which can produce executables for all the 'Win32*' variations... Should the
KR> 'Maxgw' be used ? ("Maxgw gives the maximum for the Win32* target choices" ;-)
'Min' in Mingw belongs to 'g', i.e. GNU - there's not full GNU
environment, only compiler/binutils, and not all GNU code can be
compiled, but only some of it. You'll get 'Maxgw' when Reactos will be
finished - so, GNU compiler will be run on GNU implementation of
windows. ;-)
KR> Cheers, Kai
--
Paul Sokolovsky, IT Specialist
http://www.brainbench.com/transcript.jsp?pid=11135
|