[BUG] default CXXFLAGS on powerpc

Raphael Collet raphael.collet at uclouvain.be
Sun Jun 29 10:41:46 CEST 2008


Dear Keri,

Thank you for mentioning this.  This part of the system was never tried 
on PowerPC architectures, I think.  I also noticed a missing symbol for 
big endianness on this architecture.

I have checked in a patch for the configure script on the svn trunk 
(revision 17006).  Can you give it a try?

Cheers,
raph

Keri Harris wrote:
> configure sets incorrect CXXFLAGS on powerpc. A vanilla './configure && make' 
> produces:
> 
> <snip>
> gmake[2]: Entering directory 
> `/home/keri/mozart-scm-2008-06-28/trunk/mozart/platform/dss'
> g++ -march=powerpc -mtune=powerpc -O3 -fomit-frame-pointer -funsigned-char -I. -I/home/keri/mozart-scm-2008-06-28/trunk/mozart/platform/dss/include -fno-exceptions -Winline -Weffc++ -Wall -Wold-style-cast -Woverloaded-virtual -Wshadow   -c -o 
> base.o /home/keri/mozart-scm-2008-06-28/trunk/mozart/platform/dss/src/base.cc
> cc1plus: error: unrecognized command line option "-march=powerpc"
> gmake[2]: *** [base.o] Error 1
> 
> I don't think g++ on PowerPC/RS6000 has a "-march" flag.
> 
> Thanks
> 
> Keri
> _________________________________________________________________________________
> mozart-hackers mailing list                           mozart-hackers at mozart-oz.org      
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers



More information about the mozart-hackers mailing list