Mail Archives: djgpp/1998/10/05/21:53:59
Emil Evers wrote:
>
> I have recently downloaded djgpp and am trying to run a simple program. I
> wrote the program in emacs, saved it and put it in my djgpp\bin directory.
> When I try to compile the program in dos (starter.c) with
>
> gcc starter.c -o starter.exe -lm
>
> I get the message:
>
> ld.exe: cannot open -lm :File in wrong format
Two thoughts:
1. Your DJGPP environment variable may be set incorrectly, or not at
all. See README.1ST for details on what to do.
2. The file lib/libm.h in your DJGPP directory may be corrupted. If
so, reinstall the DJDEV package.
If neither of those help, read FAQ section 6.16 and post what it
requests.
> My email is emil AT mazuma DOT net DOT au
But your mail header says something different. You might want to
resolve that.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -