Date: Tue, 8 Sep 1998 10:13:39 +0300 (IDT) From: Eli Zaretskii To: Joern Philipp Meier cc: djgpp AT delorie DOT com Subject: Re: RSXNTDJ problem In-Reply-To: <6t1s27$2ag$1@public.ndh.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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?