🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Odom Fri, 12 Jan 1996 00:00
(none)
#6215
Author: 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 % 
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