home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 866 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  54 lines

  1. Path: usenet.ins.cwru.edu!ukma!usenet
  2. From: mgwill1@nx03.mik.uky.edu (matthew williams)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: HUGE executable in g++
  5. Date: 12 Jan 1996 11:58:06 GMT
  6. Organization: University of Kentucky, Dept. of Math Sciences
  7. Message-ID: <4d5ice$bdb@t3.mscf.uky.edu>
  8. References: <DKyHo0.IFL@cyf-kr.edu.pl>
  9. NNTP-Posting-Host: 128.163.117.3
  10.  
  11. In article <DKyHo0.IFL@cyf-kr.edu.pl> iskra@student.uci.agh.edu.pl (Kamil  
  12. Iskra) writes:
  13. > matthew williams (mgwill1@mik.uky.edu) wrote:
  14. > > The file produced by that is 541k (which is better but not good) and 
  15. > Try to use -s options, which strips symbolic information.
  16. > Post output produced by -v option, which gives kind of log of G++  
  17. activities.
  18. okay here it is:
  19.  gcc -v -noixemul ff64.cc -o ff64 -s -lstdc++
  20. Reading specs from /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/specs
  21. gcc version 2.7.0
  22.  /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/cpp -lang-c++ -v -undef  
  23. -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dmc68000  
  24. -Damiga -Damigados -DMCH_AMIGA -DAMIGA -D__mc68000__ -D__amiga__  
  25. -D__amigados__ -D__MCH_AMIGA__ -D__AMIGA__ -D__mc68000 -D__amiga  
  26. -D__amigados -D__MCH_AMIGA -D__AMIGA -Asystem(amigados) -Acpu(m68k)  
  27. -Amachine(m68k) -Dmc68010 ff64.cc /t/cc050672.ii
  28. GNU CPP version 2.7.0 (68k, MIT syntax)
  29. #include "..." search starts here:
  30. #include <...> search starts here:
  31.  /gnu/lib/g++-include
  32.  /gnu/local/include
  33.  /gnu/mc68020-cbm-amigados/include
  34.  /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/include
  35.  /gnu/os-include
  36.  /gnu/include
  37. End of search list.
  38.  /gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0/cc1plus /t/cc050672.ii -quiet  
  39. -dumpbase ff64.cc -version -o /t/cc050672.s
  40. GNU C++ version 2.7.0 (68k, MIT syntax) compiled by GNU C version 2.7.0.
  41.  as -mc68010 -o /t/cc0506721.o /t/cc050672.s
  42.  ld -shortdata -fl libnix -o ff64 -s /gnu/lib/libnix/ncrt0.o  
  43. -L/gnu/lib/gcc-lib/mc68020-cbm-amigados/2.7.0  
  44. -L/local/lib/gcc-lib/mc68020-cbm-amigados/2.7.0 -L/gnu/lib -L/local/lib  
  45. -L/local/lib /t/cc0506721.o -lstdc++ -lgcc -lnixmain -lnix -lamiga -lgcc  
  46. -lstubs
  47.  
  48. I hope someone can tell me from that why my 10k source compiles into
  49. 1.4mb!
  50.  
  51.