Mail Archives: djgpp/1998/05/06/22:30:51
Sten Karsten Vartdal wrote:
>
> Got message:
>
> E:\DJGPP\BIN>GCC -v
> Using builtin specs.
> gcc version 2.8.0
>
> And when I try to compile:
>
> E:\DJGPP\BIN>gcc test.c
> ld.exe: cannot open -lgcc: File format not recognized
You have to use the '-v' parameter in addition to the rest of your
normal command line (i.e, "gcc -v test.c"). Otherwise gcc just takes it
and does nothing.
You haven't given us enough information to diagnose your problem; please
see the DJGPP Frequently Asked Questions list, chapters 6 and 8. If you
are still having troubles, you could try to use my DJVERIFY diagnostic
utility, available from http://www.cs.com/fighteer/files/vrfy04a.zip.
It's designed to detect broken installations and recommend solutions,
and it can prepare a suitable system report for posting on the
discussion group.
hth
--
---------------------------------------------------------------------
| John M. Aldrich | "Autocracy is based on the assumption|
| aka Fighteer I | that one man is wiser than a million |
| mailto:fighteer AT cs DOT com | men. Let's play that over again, |
| http://www.cs.com/fighteer | too. Who decides?" - Lazarus Long |
---------------------------------------------------------------------
- Raw text -