Thread View: gnu.g++.lib.bug
2 messages
2 total messages
Started by Oscar Linares
Mon, 28 Dec 1992 05:58
Re: lib-g++
Author: Oscar Linares
Date: Mon, 28 Dec 1992 05:58
Date: Mon, 28 Dec 1992 05:58
51 lines
2432 bytes
2432 bytes
Hi, >I am currently working on a document processing system and I want to use >groff. I have attempted to install groff on a next computer running version 3 >of NeXTSTEP. I got the following error: /bin/sh configure checking for grops to derive installation directory prefix checking for gcc to derive installation directory prefix checking for gcc checking if C compiler is also a C++ compiler checking that C++ compiler can compile very simple C++ program checking that C++ static constructors and destructors are called gcc -O is not installed correctly: static constructors and destructors do not work *** Exit 1 Stop. gateway:8# >I had previously installed lib-g++ and gcc-2.3.3 unsuccessfully with the >following error being returned: gateway:10# make install for i in /usr/gnu /usr/gnu /usr/gnu/lib/next ; do echo Making $i... ; parent=`echo $i|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi ; if [ ! -d $i ] ; then if mkdir $i ; then true ; else exit 1 ; fi ; else true ; fi ; done Making /usr/gnu... Making /usr/gnu... Making /usr/gnu/lib/next... parent=`echo /usr/gnu/man/man1|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi if [ -d /usr/gnu/man/man1 ] ; then true ; else mkdir /usr/gnu/man/man1 ; fi cp configure.man /usr/gnu/man/man1/configure.1 `stamp' is up to date. touch .stmp-genclass touch .stmp-tests touch .stmp-etc rootme=`pwd` ; export rootme ; cd src ; make "prefix=/usr/gnu" "exec_prefix=/usr/gnu" "tooldir=/usr/gnu/lib/next" "CC=cc" "CFLAGS=-g" "CXX=gcc" "CXXFLAGS=-g -O" "XTRAFLAGS=" "AR=ar" "RANLIB=ranlib" gcc -o gperf new.o options.o iterator.o main.o gen-perf.o key-list.o list-node.o hash-table.o bool-array.o read-line.o std-err.o version.o ../../libg++.a ld: options.o symbol 317 (___DTOR_LIST__) has unknown n_type field (0x16) *** Exit 1 Stop. >I would appreciate any help you may be able to give me. >Thanks, >Oscar A. Linares
Re: lib-g++
Author: bothner
Date: Mon, 28 Dec 1992 16:18
Date: Mon, 28 Dec 1992 16:18
11 lines
1019 bytes
1019 bytes
This problem is not libg++ related. This is a problem in how g++ is installed. (This could be a bug in the NeXT gcc configuration files.) The problem is the magic needed to make sure static initializers are evaluated before the user's main() routine. It looks like the compiler is generating code under the assumption that GNU ld will be used - but GNU ld has *not* been installed. I'm not familar enough with the NeXT to say whether fixing the compiler configuration or installing GNU ld is the better fix. --Per Bothner Cygnus Support bothner@cygnus.com
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