From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: linker error. Date: 10 Dec 2002 23:28:20 GMT Organization: Cornell University Lines: 26 Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-18.syr.east.verizon.net) Message-ID: References: NNTP-Posting-Host: pool-141-149-206-18.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1039562900 25412 141.149.206.18 (10 Dec 2002 23:28:20 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 10 Dec 2002 23:28:20 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Riccardo Fantoni (Pastore)" wrote in news:Pine DOT OSF DOT 4 DOT 44 DOT 0212102339510 DOT 22097-100000 AT axpts2 DOT ts DOT infn DOT it: > Dear DJ, > > I have installed the v2.03 of DJGPP and I have the following problem: > I have tried to compile my fortran code. Everything is fine for the > compilation but when it comes to linking make exits with error 1 > > "h:/djgpp/bin/ld.exe: cannot find -lgcc" > > what should I do ? i don't use Fortran, so I might be missing something obvious here, but it would be useful if you provided some more information. add the -V flag to the command line you are using to compile your code, and post the output here. by the way, your gcc, gpp, g77 packages are all the same version, right? -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov