home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2774 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.0 KB  |  44 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eso.mc.xerox.COM!leisner
  3. From: leisner@eso.mc.xerox.COM ( Marty Leisner)
  4. Subject: gcc -a doesn't seem to work
  5. Message-ID: <9211160149.AA20216@annapurna.wbst147.xerox.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 16 Nov 1992 01:49:04 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 31
  12.  
  13. I'm using SunOS 4.1.2... gcc -a doesn't seem to include /usr/lib/bb_link.o
  14. automatically...
  15.  
  16. leisner@annapurna$ gcc -a -v test.c -o test
  17. Reading specs from /usr/gnu/lib/gcc-lib/sun4/2.2.2/specs
  18. gcc version 2.2.2
  19.  /usr/gnu/lib/gcc-lib/sun4/2.2.2/cpp -lang-c -v -undef -D__GNUC__=2 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix test.c /usr/tmp/cca20067.i
  20. GNU CPP version 2.2.2 (sparc)
  21.  /usr/gnu/lib/gcc-lib/sun4/2.2.2/cc1 /usr/tmp/cca20067.i -quiet -dumpbase test.c -a -version -o /usr/tmp/cca20067.s
  22. GNU C version 2.2.2 (sparc) compiled by GNU C version 2.2.2.
  23.  as -o test.o /usr/tmp/cca20067.s
  24.  /usr/gnu/lib/gcc-lib/sun4/2.2.2/ld -e start -dc -dp -o test /lib/crt0.o -L/usr/lib/X11 -L/usr/openwin/lib -L/usr/marty/lib -L/usr/lib/X11 -L/usr/openwin/lib -L/usr/marty/lib -L/usr/gnu/lib/gcc-lib/sun4/2.2.2 -L/usr/gnu/lib test.o -lgcc -lc -lgcc
  25. ld: Undefined symbol 
  26.    ___bb_init_func 
  27. collect: /usr/bin/ld returned 2 exit status
  28. leisner@annapurna$ cc -a -v test.c -o test
  29. /lib/cpp -undef -Dunix -Dsun -Dsparc test.c >/tmp/cpp.20096.0.i
  30. /lib/ccom - -XO0 /tmp/ccom.20096.2.ir </tmp/cpp.20096.0.i >/tmp/ccom.20096.1.s
  31. rm /tmp/cpp.20096.0.i
  32. /usr/lib/iropt -O0 -o /tmp/iropt.20096.3.ir /tmp/ccom.20096.2.ir
  33. rm /tmp/ccom.20096.2.ir
  34. /usr/lib/cg -A/files3/leisner/tmp/test.d /tmp/iropt.20096.3.ir >/tmp/cg.20096.4.s
  35. /bin/as -o test.o -Q /tmp/ccom.20096.1.s /tmp/cg.20096.4.s
  36. rm /tmp/ccom.20096.1.s
  37. /bin/ld -dc -dp -e start -X -o test /usr/lib/crt0.o /usr/lib/bb_link.o test.o -lc
  38. rm /tmp/iropt.20096.3.ir
  39. rm /tmp/cg.20096.4.s
  40. rm test.o
  41.  
  42.  
  43.  
  44.