From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc a program Date: 24 Jul 1999 17:39:00 GMT Organization: University of Lulea, Sweden Message-ID: <7nctnk$d5u$3@news.luth.se> References: <199907240218 DOT MAA18120 AT yallara DOT cs DOT rmit DOT edu DOT au> NNTP-Posting-Host: queeg.ludd.luth.se X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Konstantinos Pappas (kpappas AT cs DOT rmit DOT edu DOT au) wrote: : Hello, : : I am doing this: : : C:\djgpp>gcc histo.c -o histo.exe : ld.exe: cannot open -lgcc: File format not recognized : : can you tell me how I can fix this? : : this is the first time i am running rhide I'm not an expert on rhide, but you could try the "-v" switch to gcc to see where it looks for libgcc.a. Then you check if there is any libgcc.a in any of the places gcc searched (there probably won't be). So now you need to unzip the .ZIP that holds that libgcc.a (I think it's in gcc*b.zip, but I'm not sure). Kokkonen,, Symphony 4, MartinS