🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Kevin Burton Sun, 05 Apr 1992 22:40
Building libg++ on an m68k SYSV machine
#23
Author: Kevin Burton
Date: Sun, 05 Apr 1992 22:40
67 lines
3279 bytes
Compiler: gcc/g++ 2.1
OS: System Vr3
CPU: m68k

I have built gcc/g++ 2.1 on our machine. There were no errors. I am
using the trick outlined by Thorsten Ohl in his "unofficial Apollo patch"
( using collect to do ld ). I installed everything then I wanted to
move on to libg++-2.0. Since our machine is not in the configuration I
changed it as outlined below and in the libg++ directory I typed `make'.
It did not work. Our system is *NOT* ANSI compliant so hence I would
expect the mismatch below. Does anyone know how I might work around it ?
I have run fixincludes. Would `-nostdinc' be an option ? When I try
that it can't find std.h as shown below. Any ideas ?


----------- Using standard makefile

burton@silver(5)$ cat config.status 
#!/bin/sh 
# This file was generated automatically by configure.  Do not edit. 
# /n/silver/usr/local/src/libg++-2.0/libg++ was configured as follows: 
/n/silver/usr/local/src/libg++-2.0/./configure hkv -target=hkv -norecursion  
#  
burton@silver(6)$ make 
        (rootme=`pwd` ; export rootme ; cd src ; \ 
                make "CC=`if [ -d ${rootme}/../gcc ] ; \ 
        then echo ${rootme}/../gcc/gcc -B${rootme}/../gcc/ ; \ 
        else echo gcc -O ; fi`" "XTRAFLAGS=`if [ -d ${rootme}/../gcc ] ; \ 
        then echo -I${rootme}/../gcc/include ; \ 
        else echo ; fi`" \ 
                "AR=`if [ -d ${rootme}/../binutils ] ; \ 
        then echo ${rootme}/../binutils/ar ; \ 
        else echo ar ; fi`" "RANLIB=`if [ -d ${rootme}/../binutils ] ; \ 
        then echo ${rootme}/../binutils/ranlib ; \ 
        else echo ranlib ; fi`") 
        gcc -O -I. -I./../iostream -I./../g++-include  -c AllocRing.cc 
In file included from ./../g++-include/std.h:28, from AllocRing.cc:22: 
./../g++-include/stdio.h:174: conflicting types for `long unsigned int  fread (void *, long unsigned int, long unsigned int, struct FILE*)' 
/usr/local/lib/gcc-lib/hkv/2.1/include/stdio.h:86: previous declaration of `int  fread (...)' 
*** Error code 1 
 
Stop. 
*** Error code 1 
 
Stop. 

----------- Using -nostdinc

        gcc -O -I. -I./../iostream -I./../g++-include -nostdinc -c AllocRing.cc 
In file included from ./../g++-include/std.h:23, from AllocRing.cc:22: 
./../g++-include/stddef.h:7: stddef.h: No such file or directory 
In file included from ./../g++-include/std.h:28, from AllocRing.cc:22: 
./../g++-include/stdio.h:114: stdio.h: No such file or directory 
In file included from ./../g++-include/std.h:29, from AllocRing.cc:22: 
./../g++-include/errno.h:9: errno.h: No such file or directory 
*** Error code 1 
 
Stop. 
*** Error code 1 
 
Stop. 


--
Kevin Burton                                mail: burton@inno.heurikon.com
Innovision Corporation                      uucp: heurikon!inno!burton
8000 Excelsior Drive Suite #304, Madison WI 53717 at&t: 608/831-4441
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