Xref: news2.mv.net comp.os.msdos.djgpp:4246 Newsgroups: comp.os.msdos.djgpp Subject: Re: Help, I can't get it up! Message-ID: <4o233g$ae5@server2.codetel.net.do> From: or DOT cor AT codetel DOT net DOT do (Benhail Acosta Mejia) Date: Thu, 23 May 1996 16:08:31 GMT References: Organization: Codetel NNTP-Posting-Host: port195.codetel.net.do Lines: 52 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I get this same troubles and I do have my ENV variable properly set, the is no space in the SET command, and when see what happens: C:\source>set LFN=n C:\source>gcc -o hello.exe hello.c -lm gcc.exe: installation problem, cannot exec `cpp': No such file or directory (ENO ENT) C:\source>set LFN= C:\source>gcc -o hello.exe hello.c -lm C:\C++\BIN/ld.exe: cannot open crt0.o: No such file or directory (ENOENT) And I'm not working in a networked drive but I do run it under Win95??? Someone please HELP ME! Benhail Acosta or DOT cor AT codetel DOT net DOT do Eli Zaretskii wrote: On 20 May 1996, Keith F. Lynch wrote: > produced a file test.o. But when I tried linking test.o with > "gcc -o test.exe test.o -lm" it complains that bin/ld can't find > crt0.o. I see that there is a file crt0.o in the lib subdirectory. Check the following gotchas: 1) Did you remember to define the DJGPP environment variable to point to the DJGPP.ENV file in the main DJGPP installation directory? 2) Are you careful not to put excess blanks into that environment variable name? Make sure you have "DJGPP=c:/djgpp/djgpp.env" as opposed to "DJGPP = c:/djgpp/djgpp.env". 3) Does your main DJGPP installation directory reside on a networked drive? If so, that is currently a known bug in DJGPP, and the only workaround is to copy the contrents of lib/ onto a directory on a local drive and add that directory to the LIBRARY_PATH definition on DJGPP.ENV. 4) Are you working under Win95? If so, set LFN=n from the DOS command line before you run any DJGPP program.