Clean Compile! (ESIX - gcc)

Weil timothy trw at aplcen.apl.jhu.edu
Thu Jun 7 11:49:58 AEST 1990


After several days of going nowhere with compile command
lines such as
         * gcc -ansi -B -c -o file.o file.c
OR,      * gcc -ansi -B -o file file.c
OR,      * gcc -ansi -B file.c
 
I mostly ran into the following error message -
  "ld: malformed input file (not rel or archive) file.o
 
SO, like most good experimenters I stumbled onto a Makefile
which resulted in -
         * gcc -O -c file.c
         * cc file.o -o file
 
and THIS ONE WORKED!  (and I've got no idea why).
 
"If at first you dont succeed, try 
try again.  Then give up.  No sense
being a fool about it".   - William Claude Dunkenfield
                            (aka W.C. Fields)



More information about the Comp.unix.i386 mailing list