🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Marty Leisner Mon, 16 Nov 1992 01:49
gcc -a doesn't seem to work
#1402
Author: Marty Leisner
Date: Mon, 16 Nov 1992 01:49
28 lines
2040 bytes
I'm using SunOS 4.1.2... gcc -a doesn't seem to include /usr/lib/bb_link.o
automatically...

leisner@annapurna$ gcc -a -v test.c -o test
Reading specs from /usr/gnu/lib/gcc-lib/sun4/2.2.2/specs
gcc version 2.2.2
 /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
GNU CPP version 2.2.2 (sparc)
 /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
GNU C version 2.2.2 (sparc) compiled by GNU C version 2.2.2.
 as -o test.o /usr/tmp/cca20067.s
 /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
ld: Undefined symbol 
   ___bb_init_func 
collect: /usr/bin/ld returned 2 exit status
leisner@annapurna$ cc -a -v test.c -o test
/lib/cpp -undef -Dunix -Dsun -Dsparc test.c >/tmp/cpp.20096.0.i
/lib/ccom - -XO0 /tmp/ccom.20096.2.ir </tmp/cpp.20096.0.i >/tmp/ccom.20096.1.s
rm /tmp/cpp.20096.0.i
/usr/lib/iropt -O0 -o /tmp/iropt.20096.3.ir /tmp/ccom.20096.2.ir
rm /tmp/ccom.20096.2.ir
/usr/lib/cg -A/files3/leisner/tmp/test.d /tmp/iropt.20096.3.ir >/tmp/cg.20096.4.s
/bin/as -o test.o -Q /tmp/ccom.20096.1.s /tmp/cg.20096.4.s
rm /tmp/ccom.20096.1.s
/bin/ld -dc -dp -e start -X -o test /usr/lib/crt0.o /usr/lib/bb_link.o test.o -lc
rm /tmp/iropt.20096.3.ir
rm /tmp/cg.20096.4.s
rm test.o
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads