Mail Archives: djgpp/1998/09/08/12:01:50
On Tue, 8 Sep 1998 10:13:39 +0300 (IDT), Eli Zaretskii wrote:
>
>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.
I have added it to the LIBRARY_PATH, and now at least the compiler
seems to work. However, no matter what source I compile, the exe is
always terminated with an "Exception at 0x0000001, Application got
Signal SIGSEGV" error message (and unfortunately I do not know what
that means). This happens although I do not get any error messages
during the build process.
>> 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?
It does, and according to install instructions, it is to be copied
into the DJGPP/BIN directory (which I did), thus overwriting the old
version.
Joern
- Raw text -