This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PPL compilation error and compiler flags


Hi,

I am trying to build a sparc toolchain but I got the same error described here (I am using gcc 4.7 too):
http://comments.gmane.org/gmane.comp.gcc.cross-compiling/14909
Which is the crosstool-ng option I have to change?
I set CT_TARGET_CFLAGS to -fpermissive but I still get the error


Looking at the build.log I have found that this is the source of the error:

x86_64-build_unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/opt/x-tools/build_sparc/src/ppl-0.10.2/src -I.. -I.. -I/opt/x-tools/build_sparc/src/ppl-0.10.2/src -I/opt/x-tools/build_sparc/sparc-unknown-linux-gnu/build/static/include -O2 -frounding-math -pipe -W -Wall -MT Polyhedron_widenings.lo -MD -MP -MF .deps/Polyhedron_widenings.Tpo -c /opt/x-tools/build_sparc/src/ppl-0.10.2/src/Polyhedron_widenings.cc -o Polyhedron_widenings.o

I have noticed that g++ is used and not gcc but I have not found a way to set CXXFLAGS in crosstool configuration.
What am I doing wrong with respect to the proposed solution?


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]