discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with gcc when trying to build base on MacOS-X


From: Richard Frith-Macdonald
Subject: Problems with gcc when trying to build base on MacOS-X
Date: Sat, 17 Jan 2004 07:52:20 +0000

I'm trying to build the base library on MacOS-X 10.3 (Panther).
I want to build for the gnu runtime, so I was trying to build and install the recommended version of the compiler - gcc-3.2.2, but the processs fails when the newly built compiler is being used to build libgcc.

I have configured it as follows (config.status) -

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
./configure --with-gcc-version-trigger=/Users/richard/Desktop/gcc-3.2.2/gcc/ version.c --host=powerpc-apple-darwin7.2.0 --enable-languages=c,objc,c++ --enable-threads=posix --enable-shared --enable-target-libffi --norecursion
# using "mh-frag" and "mt-frag"

The compiler buuild falls over like this -

/Users/richard/Desktop/gcc-3.2.2/gcc/xgcc -B/Users/richard/Desktop/gcc-3.2.2/gcc/ -B/usr/local/powerpc-apple-darwin7.2.0/bin/ -B/usr/local/powerpc-apple-darwin7.2.0/lib/ -isystem /usr/local/powerpc-apple-darwin7.2.0/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I. -I./. -I./config -I./../include -DL_divdi3 -c ./libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o /var/tmp//cc0Bnh7Y.s:1236:section difference relocatable subtraction expression, "LFE2" minus "LFB2" using a symbol at the end of section will not produce an assembly time constant /var/tmp//cc0Bnh7Y.s:1236:use a symbol with a constant value created with an assignment instead of the expression, L_const_sym = LFE2 - LFB2
make[2]: *** [libgcc/./_divdi3.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2

This implies that there is a problem with the newly built compiler ... it can't compile libgcc etc.
Anyone know about this problem and how to fix it?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]