[oe] sane-toolchain-glibc.inc and old g++ versions

Martin Dietze di at fh-wedel.de
Mon Mar 30 14:27:37 UTC 2009


Hi,

 the include file sane-toolchain-glibc.inc contains this line:

| CXXFLAGS += "-fvisibility-inlines-hidden" 

This option is not supported by g++ 3.3.4 which is used for
mtx-1/2/3. I am aware that this compiler is rather old, however
it is known to produce stable code for the above platforms. 

If possible, I would like to use the sane-toolchain.inc in my
conf/distro/nylon.conf, but this does not seem possible
straightaway. There seem to be two obvious solutions:

 a) I don't use sane-toolchain.inc and need to merge any changes
    in it and its includes into my configuration file by hand

 b) I move all but the offending line into a new file
    sane-toolchain-glibc-oldg++.inc (or whatever name I assign to
    it), include it in sane-toolchain-glibc.inc and set
    PREFERRED_LIBC to "glibc-oldg++" in conf/distro/nylon.conf;
    this of course would be a (hopefully not harmful) change
    to a mechanism used by all the other distros

Needless to say, I'd prefer option (b), if it were fine with
you?

Cheers,

Martin

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Katz' Law: Man and nations will act rationally when all other 
           possibilities have been exhausted. 




More information about the Openembedded-devel mailing list