Mail Archives: djgpp/1999/07/10/13:29:41
> My problem is that the compiling process goes perfectly fine,
> but when I try to exec the program I created, it breaks in the
> linking process, and displays:
>
> ld.exe: cannot open -lgcc: No such file or directory (ENOENT)
>
> Clearly both ld.exe and gcc.exe are working, but this is not the
> first archive that is not fund, but this time I wasn't able to find the
> actual file. The information given implies that is not suppost to be a
> File, but a option to call the linker. If this is true, the linker is not
> recognizing the parameters, and still is working!
You are specifying the command line parameters incorrectly (my best guess if
I look at the error message). If you have an "-lgcc" somewhere on your
command line, remove it and try again. You do not need a "-lgcc" on your
command line unless you are linking a library file called
libgcc.a
from your djgpp\libs directory,
This message courtesy of
RylanNet rylan AT intekom DOT co DOT za
http://home.intekom.com/rylan/
--
StarWars for ever!.
- Raw text -