[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Building python extensions
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Building python extensions |
Date: |
Wed, 02 Apr 2008 15:10:50 +0100 |
Hi Philippe,
That option to gcc looks bogus. Can you check what your CFLAGS are set
to in LTIB, you can do this by:
$ grep TOOLCHAIN_CFLAGS config/platform/imx31ads/.config
Another thing you can do is to get the spoofer to display the exact gcc
line that gets passed to the cross compiler. To do this, before running
ltib:
$ export FS_DEBUG=1
Regards, Stuart
On Wed, 2008-04-02 at 13:16 +0200, Philippe Normand wrote:
> Hi,
>
> I'm trying to build Python 2.4 but I get some strange things:
>
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -fno-strict-aliasing
> -I.
> -I/home/phil/mx31/ltib-imx31ads-20071008/rpm/BUILD/Python-2.4.4/./Include
> -I/home/phil/mx31/ltib-imx31ads-20071008/rpm/BUILD/Python-2.4.4/Include
> -I/home/phil/mx31/ltib-imx31ads-20071008/rpm/BUILD/Python-2.4.4 -c
> /home/phil/mx31/ltib-imx31ads-20071008/rpm/BUILD/Python-2.4.4/Modules/timingmodule.c
> -o build/temp.linux-i686-2.4/timingmodule.o
> arm-none-linux-gnueabi-as: unrecognized option `-Qy'
>
> I see no -Qy option in the commandline above. Moreover when I start a
> shell (with ltib -m shell) and try the command, it succeeds. But when I
> try ./hostpython setup.py build, it produces messages like the one
> pasted above.
>
> Any idea? I searched for the place where that Qy option is used by gcc
> but haven't found it so far... :/
>
> Philippe
>
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib