Mail Archives: djgpp/1997/06/22/05:10:17
On Thu, 19 Jun 1997, Richard Sim wrote:
> I've only just downloaded DJGPP and this is the first thing that
You've just downloaded it and already managed to mess with DJGPP.ENV
and screw it up! Please make this (incorrect) line
DJDIR=%:/>DJGPPV2%
To say this (like it it did before):
DJDIR=%:/>DJGPP%
Please do NOT edit DJGPP.ENV unless you understand its syntax and know
exactly what you are doing. I'm not sure if this line is the source
of your trouble, but you might try your compile after reverting it to
see if it helps. If it doesn't, read on.
> When I try to compile 3DGPL I get this error:
> 'I:\DJGPPV2\BIN/ld.exe : cannot open -lm: File in wrong format'
> ??????
Please redirect the output of gcc to a file (use `redir' if you need),
and add -v switch to the link command line. For example:
i:\djgppv2\bin\echo.exe *.c > flist
redir -o gcc.log -eo gcc -v demo.c @flist -lm
Then post the file `gcc.log' created by this command.
Also, see if you have a file called "-lm" or "libm.a" anywhere on your
disk(s) and post what does the DIR command print about them.
- Raw text -