On Sat, 17 Jul 2004, Lawrence Gold wrote:

> xmame/xmess-0.84.1 is now available.  You can grab a patch or the full
> sources from the usual places:

> - Builds on LinuxPPC should no longer give warnings about "PPC" being
>    redefined.

yes it does not complaints anymore about the PPC redeefinition.

but it stills fail at linking stage.

as Christian Groessler posted earlier, could you add the -mlongcall to
the PPC specific CFLAGS and --relax to the PPC LD flags (path to
the Makefile attached)

note that i removed the LinuxPPC special case, as the -fsigned-char is
included in the standard LinuxPPC CFLAGS.

        thank's

        Eric

-- 
 XH> Dites moi donc quelle est l'administration où y a une bonne paye?
 LC> Il l'a dit: l'administration des serveurs de news.
 C'est vrai que ça palpe bien.
 -+- MG in <http://www.le-gnu.net> : Palpe ici la bonne paye. -+-



--- Makefile    2004-07-02 19:09:36.000000000 +0200
+++ Makefile.new        2004-07-19 15:15:00.483895376 +0200
@@ -120,7 +120,7 @@
 
 # GCC on Linux/PowerPC
 # CFLAGS = -O2 -Wall -Wno-unused -funroll-loops -fstrength-reduce \
-#  -fomit-frame-pointer -ffast-math -fsigned-char
+#  -fomit-frame-pointer -ffast-math -fsigned-char -mlongcall
 
 # GCC on OpenStep/Intel
 # CFLAGS = -O2 -Wall -Wno-unused -finline-functions -ffast-math \
@@ -153,9 +153,6 @@
   # Special cases
   #########################################################################
 
-  # Uncomment for Linux on a PowerPC system.
-  # CFLAGS += -fsigned-char
-
   # Uncomment for OpenStep.  This might also apply to some versions of 
   # Mac OS X, but it definitely breaks things in OS X 10.3 with GCC 3.3.
   # CFLAGS += -traditional-cpp
@@ -372,7 +369,7 @@
 ###########################################################################
 
 # Normal linking.
-LD     = $(CC) -Wl,-s
+LD     = $(CC) -Wl,-s,--relax
 
 # For the Intel C++ Compiler -- expect large link time due to -ipo 
 # optimization.

Reply via email to