Mail Archives: djgpp/1996/06/11/12:34:22
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:
|>
|> On Fri, 7 Jun 1996, Jim Varanelli wrote:
|>
|> > fake(.data+0x0): multiple definition of 'start'
|> > fake(.text+0x0): first defined here
|> >
|> > My original make file is:
|> >
|> > gcc -c -O2 adept.c
|> > gcc -c -O2 genlist.c
|> > gcc -c -O2 feedback.c
|> > gcc -c -O2 tbench.c
|> > gcc -c -O2 tree.c
|> > gcc -c -O2 sigtype.c
|> > gcc -c -O2 list.c
|> > gcc -o genlist.exe *.o
|> >
|> > The executable is only 75K.
|>
|> What happens if you use the following command line:
|>
|> gcc -o genlist.exe -O2 genlist.c feedback.c tbench.c tree.c sigtype.c list.c
Same thing, Program too big...
|> If this doesn't work either, please add -v to the command line and post
|> evrything gcc prints.
OK, here is the entire output:
Reading specs from c:/djgpp/lib\specs
gcc version 2.6.3
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ adept.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase adept.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccl00060 c:/djgpp/tmp\cck00060
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ genlist.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase genlist.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccm00060 c:/djgpp/tmp\cck00060
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ feedback.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase feedback.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccn00060 c:/djgpp/tmp\cck00060
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ tbench.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase tbench.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\cco00060 c:/djgpp/tmp\cck00060
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ tree.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase tree.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccp00060 c:/djgpp/tmp\cck00060
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ sigtype.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase sigtype.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccq00060 c:/djgpp/tmp\cck00060
c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
-Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ list.c
c:/djgpp/tmp\ccj00060
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.6.1/include
/usr/include
End of search list.
c:/djgpp/bin\cc1.exe c:/djgpp/tmp\ccj00060 -quiet -dumpbase list.c -O2
-version -o c:/djgpp/tmp\cck00060
GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3
c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccr00060 c:/djgpp/tmp\cck00060
c:/djgpp/bin\ld.exe -o genlist.exe c:/djgpp/lib\crt0.o -Lc:/djgpp/lib
c:/djgpp/tmp\ccl00060 c:/djgpp/tmp\ccm00060 c:/djgpp/tmp\ccn00060
c:/djgpp/tmp/cco00060 c:/djgpp/tmp\ccp00060 c:/djgpp/tmp\ccq00060
c:/djgpp/tmp\ccr00060 -lgcc -lc -lgcc
--
Jim Varanelli Center for Semicustom Integrated Systems
Research Scientist Department of Electrical Engineering
varanelli AT virginia DOT edu University of Virginia
http://csis.ee.virginia.edu/~jmv9w/ Charlottesville, VA 22903
- Raw text -