🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6215

(none)

#6215
From: Chris Odom
Date: Fri, 12 Jan 1996 00:00
47 lines
2419 bytes
   I'm having some major problems compiling gcc-2.7.2 for a sparc/solaris2
box.  We already have an older version of gcc on the machine (2.5.6 i believe),
and that is the compiler I've been using.  We need a newer version because we
currently don't have g++.  Which we need.  Below are the outputs for the
configure and make.  Please help in any way you can, i'm getting desperate.
It keeps behaving as if there is a parse error in your code.

-Chris Odom
    
    
(moose) /home/chris/gcc % ./configure --build=sparc-sun-solaris2
Using `./config/sparc/sparc.c' to output insns.
Using `./config/sparc/sparc.md' as machine description file.
Using `./config/sparc/sol2.h' as target machine macro file.
Using `./config/sparc/xm-sol2.h' as host machine macro file.
Merged sparc/x-sysv4.
Merged sparc/t-sol2.
Merged c++ fragment(s).
Created `./Makefile'.
Merged sparc/x-sysv4.
Merged sparc/t-sol2.
Created `cp/Makefile'.
Links are now set up to build a native compiler for sparc-sun-solaris2.
(moose) /home/chris/gcc % 


   As you can see, the configure appears to have worked.  Now the make:


(moose) /home/chris/gcc % make CC=gcc LANGUAGES=c
gcc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2/2.7.2/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2/2.7.2/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/sparc-sun-solaris2/include\" \
  -c `echo ./cccp.c | sed 's,^\./,,'`
cccp.c:1192: parse error before `__attribute__'
cccp.c: In function `fancy_abort':
cccp.c:9972: warning: `volatile' function does return
cccp.c: In function `pipe_closed':
cccp.c:10003: warning: `volatile' function does return
cccp.c: In function `memory_full':
cccp.c:10009: warning: `volatile' function does return
*** Error code 1
make: Fatal error: Command failed for target `cccp.o'
(moose) /home/chris/gcc % 
Technical Details
Message-ID: <199601121731.IAA03539@ptialaska.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,870104b4d67f1a68,start
X-Google-Attributes: gid113d02,public
From: chris@ptialaska.net (Chris Odom)
Subject: (none)
Date: 1996/01/12
Message-ID: <199601121731.IAA03539@ptialaska.net>
X-Deja-AN: 135387375
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug