From: spacetime AT gmx DOT net (Joern Philipp Meier) Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNTDJ problem Date: Tue, 08 Sep 1998 15:48:56 GMT Organization: Joern Online Lines: 34 Message-ID: <6t3jjt$jd8$1@public.ndh.net> References: NNTP-Posting-Host: port122.koeln.ndh.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 8 Sep 1998 15:48:13 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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