[Xitami-Dev] building os2 production release...
Ewen McNeill
xitami-dev@lists.xitami.org
Thu, 07 Jun 2001 20:39:01 +1200
In message <200106070806.KAA30403@sxpublic.nxrda.imatix.com>, "bernd hohmann" wr
ites:
>after finally finding a link386.exe (didn't installed it) i get a lot of
>link errors building beta4 as production release (crt0 and other stuff).
>debug and standard are ok (using the linker from the EMX package).
>are there special environment variables for link386.exe ?
It's been quite a while since I've done this, but as I recall it, the
debug and standard versions build a.out (COFF) executables, which then
have an EMX header applied to them, and pretty much everything is done
with the EMX tools.
The production version builds .obj/.lib files, and is linked through the
EMX front end to link386. Certainly you can't link using link386
directly, unless you supply all the arguments that the EMX front end
would supply.
As far as I remember the c.cmd script has the logic needed to do this
providing all the objects are build in production mode, the libraries
built in production mode, and you link in production mode.
Ewen
--
Ewen McNeill, Technical Consultant, iMatix Corporation www.imatix.com