From: bungerific AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: ld.exe: no input files (newbie) Date: Thu, 17 Jun 1999 08:18:58 GMT Organization: Deja.com - Share what you know. Learn what you don't. Lines: 64 Message-ID: <7kab1d$dee$1@nnrp1.deja.com> References: <375C5A36 DOT 6C6F413C AT cam DOT ac DOT uk> NNTP-Posting-Host: 134.173.44.69 X-Article-Creation-Date: Thu Jun 17 08:18:58 1999 GMT X-Http-User-Agent: Mozilla/4.51 [en] (Win98; I) X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 134.173.44.69 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <375C5A36 DOT 6C6F413C AT cam DOT ac DOT uk>, Rupert Levene wrote: > Um, this is a really daft question I'm sure! I get the error message > above when I try > > gcc -Zwin32 test.c -o test.exe > > on the file test.c which is the Hello World program described in the > RSXNT documentation (with the addition of #include ). I have > followed the installation instructions and the fix at > > http://people.montana.com/~bowman/Software/rsxntdj.htm > > for getting ld to find the lc_app thing (whatever that is). > > Please help! > > Rupert > I ran into the exact same problem you did! Down to every specific (was reading the same documentation, added the #include , etc.), and I got the same error you did. But the good news is I eventually got it to compile! Basically, gcc is looking for libraries that are found in the Rsxntdj folder. These libraries are in Rsxntdj\lib\st -AND- Rsxntdj\lib\mt I don't know what the difference between st and mt are (anyone know?), but either way these libraries are not in my path. So, at this point, I satisfied the compiler by copying all the libraries out to the corresponding djgpp library folder, which was in my path... That is, for me, I wrote: copy d:\rsxntdj\lib\st\*.* d:\djgpp\lib I would put everything in but the first library (libc.a) because libc.a is already there, and djgpp's version is more recent (I'm using djgpp v2.02). There! Now your test.c should compile! Um, here's the bad news... It DID make a window, but its contents were: Exception at 0x00000003 Application got signal SIGSEGV [OK Button here] Whee! Seg fault! Um, tell me if it works different for you, ok? Dherman P.S. Yup, I tried both the libraries in /mt and /st... both of them gave me the same results Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.