[vbox-dev] building os/2 host
michael.holzapfel at arcor.de
Tue Jun 12 22:21:39 PDT 2007
Knut St. Osmundsen schrieb:
>> Is this a known issue of the os/2 build process? Seems that the compiler
>> generates a wrong object format (-Zomf switch missing).
>> Any comments?
> I haven't updated the prereqs for OS/2 after I did the support driver,
> so it's a little bit inaccurate. You must use the open watcom linker
> (wlink / wl) when building on OS/2. The IBM linker was uncooperative
> (crashes) and I'm switching gcc to use wlink anyway.
> You'll find a build of the linker at
> ftp://ftp.netlabs.org/pub/gcc/wl-hll-r1.zip that includes support for
> the OS/2 HLL format. You also need to get GCC 3.3.5 CSD3 / LIBC 0.6.3 in
> order to use this. You'll find that as GCC-3.3.5-csd3.zip in the same
> directory (or in incoming/gcc/ if it hasn't been moved by the time you
> read this). Then SET EMXOMFLD_LINKER=wl.exe and SET EMXOMFLD_TYPE=WLINK
> and you're in business. (Note. if you get funny build errors after
> switching, try 'kmk -C src/VBox/HostDrivers rebuild' or just 'rm -Rf out'.)
> I'll be updating the OS/2 build instructions shortly.
> Kind Regards,
Thanks for the hints. Works great now.
More information about the vbox-dev