🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by sm Tue, 07 Apr 1992 18:23
g++ v 2.0 on a Sun SPARC 2 ( Sun OS v 4.1.1 )
#227
Author: sm
Date: Tue, 07 Apr 1992 18:23
64 lines
2685 bytes
Hi,

gcc v 2.0 compiles 'C' src's just fine, but I'm a bit confused about g++.

I'm using the gnu-ld distributed with binutils v 1.9.

I named gnu-ld 'ld' and installed it in /usr/local/bin and linked this into

/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0.

Do I need to use crt1+.o ?

Here is the output from an attempt at compiling a C++ src :

Reading specs from /usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/specs
gcc version 2.0
 /usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/cpp -lang-c++ -v -undef
-D__GNUC__=
2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__
-D__unix
__ -D__sparc -D__sun -D__unix /home/staff/ba/trains/ae.cc
/usr/tmp/cca16782.cpp
GNU CPP version 2.0 (sparc)
 /usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/cc1plus /usr/tmp/cca16782.cpp
-quie
t -dumpbase ae.cc -version -o /usr/tmp/cca16782.s
GNU C++ version 2.0 (sparc) compiled by GNU C version 2.0.
 as -o ae.o /usr/tmp/cca16782.s
 /usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/ld -e start -dc -dp
/usr/local/lib/
gcc/sparc-sun-sunos4.1.1/2.0/crt0.o
-L/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.
0/ -L/usr/local/lib/gcc/ -L/usr/local/lib/ ae.o -lgcc -lc -lgcc
crt1.c:45 (/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/crt0.o): Undefined
symbol
 ___dli referenced from text segment
crt1.c:45 (/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/crt0.o): Undefined
symbol
 ___dli referenced from text segment
crt1.c:45 (/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/crt0.o): Undefined
symbol
 ___dlp referenced from text segment
crt1.c:45 (/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/crt0.o): Undefined
symbol
 ___dlp referenced from text segment
crt1.c:45 (/usr/local/lib/gcc/sparc-sun-sunos4.1.1/2.0/crt0.o): Undefined
symbol
 ___dlp referenced from text segment

Thanks in advance for your help.


Shaun McCullagh (RA)
School of Information Systems.,
University of East Anglia.,
Norwich
England NR4 7TJ

sm@uk.ac.uea.sys ( JANET )      	       	Tel +44 603 592692
sm@sys.uea.ac.uk ( Other Nets ) 	       	FAX +44 603 507720

*******************************************************************
"I can feel the Data coming out of my Macintosh"           Anon.
*******************************************************************
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