* PPL compilation error and compiler flags
[not found] <web-41591361@elet.polimi.it>
@ 2012-11-27 11:22 ` Marco Lattuada
0 siblings, 0 replies; only message in thread
From: Marco Lattuada @ 2012-11-27 11:22 UTC (permalink / raw)
To: crossgcc
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-27 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <web-41591361@elet.polimi.it>
2012-11-27 11:22 ` PPL compilation error and compiler flags Marco Lattuada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).