List Info

Thread: Re: OpenOffice.org Linux/MIPS (EL)




Re: OpenOffice.org Linux/MIPS (EL)
user name
2007-07-26 07:50:42
Caolan McNamara wrote:
> On Thu, 2007-07-26 at 11:04 +0100, Caolan McNamara
wrote:
>> Ideally we would be able to detect this in
configure, but I don't know
>> how to test for bustage :-(
> 
> Maybe this is a test for it, we could use AC_EGREP_CPP
in autoconf to
> implement it...
> 
> echo "#include <string>" | g++ -x c++
-E - | grep "visibility push(default)" >
/dev/null
> if [ "$?" -ne "0" ]; then echo need
to use stlport; else echo system stl safe; fi
> 
> This says "system stl safe" for me, what does
it say on e.g. the mac gcc ?, 
> and double check on failure that there is no other sort
of visibility pragmas or markup
> in the -E output that might have caused a false
negative.

Says "system stl safe" on Mac OS X 10.4 (which
uses Apple's GCC 4.0.1).

I will be on vacation for one week, but will try to remember
to pick up 
on this again afterwards...

-Stephan

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeporting.openoffice.org
For additional commands, e-mail: dev-helpporting.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )