delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/11/12:34:22

Xref: news2.mv.net comp.os.msdos.djgpp:4838
Newsgroups: comp.os.msdos.djgpp
From: jmv9w AT hal DOT ee DOT Virginia DOT EDU (Jim Varanelli)
Subject: Re: Program too big to fit in memory
Message-ID: <DssIuC.C9F@murdoch.acc.Virginia.EDU>
Sender: usenet AT murdoch DOT acc DOT Virginia DOT EDU
Organization: University of Virginia
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960609180214 DOT 342g-100000 AT is>
Date: Mon, 10 Jun 1996 15:25:24 GMT
Lines: 162
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019