Hi Roman,
this a message from the gccxml list :
Inizio messaggio inoltrato:
> Da: Brad King <bra...@ki...>
> Data: 08 marzo 2010 14.44.10 GMT+01.00
> A: Massimo Di Stefano <mas...@gm...>
> Cc: gc...@gc...
> Oggetto: Re: [GCC-XML] runs py++ on mac osx 10.6.2
>
> Massimo Di Stefano wrote:
>> http://paste.debian.net/62716/
>>
>> have you any clue on what'swrong ?
>> the same example file works fine on linux,
>> so i guess my py++ installation on osx is broken :'(
>>
>> Is it possible that for some reason gccxml uses Objective C/C++ headers?
>
> gccxml detects the include path used by the target compiler
> and simulates its preprocessor. If that ends up including
> Objective C/C++ code then it won't know the difference.
>
> You can use the "--print" or "--debug" option to gccxml to
> see what it detects about the target compiler.
>
> -Brad
this is my gcc -version :
MacBook-Pro-15-di-Massimo-Di-Stefano:vitables-839c604ba964 sasha$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
please, can you suggest me a way to try to debug the problem ?
how to use the command line to test what's wrong ?
thanks for any help!!!
regards,
Massimo.
Il giorno 06/mar/2010, alle ore 10.53, Roman Yakovenko ha scritto:
> On Sat, Mar 6, 2010 at 11:20 AM, Massimo Di Stefano
> <mas...@gm...> wrote:
>> Hi All
>>
>> i'm tring to use py++ on mac osx
>> .. i'm having some problems,
>> i hope you can help me
>>
>> running py++ gui module on the example file :
>>
>> http://paste.debian.net/62714/
>>
>> i get this error :
>>
>> http://paste.debian.net/62716/
>>
>> have you any clue on what'swrong ?
>> the same example file works fine on linux,
>> so i guess my py++ installation on osx is broken :'(
>>
>> let me know if i need to give you more details,
>> thanks for any suggestion!
>
> Unfortunately I don't have access to any Mac computer. I think the
> best way to handle this problem is to take it to gccxml mailing list.
> The problem is with your gccxml installation.
>
> When Py++ runs gccxml it prints the command line used. You can use it
> to better understand what the problem is.
>
> Is it possible that for some reason gccxml uses Objective C/C++ headers?
>
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
|