Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: robc on March 11, 2010, 03:25:19 PM
-
I've been meaning to ask this for a while now. Has anyone else seen this message in a ./configure ?
checking if gcc supports -fno-rtti -fno-exceptions... no
CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti"
Does this mean the fno-exceptions and fno-rtti flags are not recognized by gcc?
-
I've seen the message a couple of times - were you using tc-2.9?
In tc-2.9, libstdc++ was re-compiled to support exceptions - since this was done, I have not seen the message (but could have missed it) and in testing, apps requiring exception support worked.
For "-fno-rtti", maybe ^hats^ would like to comment?
-
I've noticed it throughout TC 2.X (don't remember if I saw it in 1.X or not). The latest is with TC 2.9. It may be a problem with the package I am building. I'll check some others to confirm.
-
could you let me know what package you're trying to build so I can have a look too?
-
I posted this after seeing it with configuring php-5.3.2 on tc 2.9.
Edit: I also see it in lighttpd-1.4.26
-
testing with php-5.3.2, I found that both CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" and CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" give the same error.
Looking at config.log, it's not obvious what, if any, test the php configure scripts runs to find if "-fno-exceptions -fno-rtti" works or not.
Note that using gcc-4.4.3 gives the same error.