Mail Archives: djgpp/1998/09/08/03:15:58
On Tue, 8 Sep 1998, Joern Philipp Meier wrote:
> E:\CHAP03>gcc -Zwin32 sysmets3.c
> e:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory (ENOENT)
In what directory is the library libc_app.a installed on your system?
You need to make sure that its directory is either added to the value
of LIBRARY_PATH on DJGPP.ENV, or to the -L switches in lib/specs.
> gcc -v reveals (as it is supposed to):
>
> Reading specs from E:/DJGPP/RSXNTDJ/lib/specs
> gcc version 2.8.1
But how does GCC invoke ld.exe? Does the -L switch with the directory
where libc_app.a resides is part of the linker command line?
Also, doesn't RSXNTDJ come with its own linker?
- Raw text -