A second try to get this upstream.

Am 01.03.2011 um 07:51 schrieb Daniel Kriesten:

> Am 28.02.2011 um 20:01 schrieb Michael Olbrich:
> 
>> On Wed, Feb 23, 2011 at 04:44:32PM +0100, [email protected] 
>> wrote:
>>> From: Daniel Kriesten <[email protected]>
>>> 
>>> This patch extends the setup.py call to reflect CC and LDSHARED for 
>>> crosscompiling the python bindings
>> 
>> Please elaborate why this patch is needed. As far as I can tell the python
>> bindings are built with the cross compiler.
> 
> On my host machine it's not. AFAIR 'setup.py build_ext' gets the compiler 
> from CC and the "shared linker" is taken from LDSHARED. The -shared get lost 
> if LDSHARED is overwritten (linking is done by '<your-compiler-prefix>-gcc 
> -shared') so the shared flag has to be placed in CFLAGS (Ok, may be one could 
> also pass it in LDSHARED.
> 
> I needed the python bindings on a ppc target and figured out it was build 
> using hosts gcc. Diving deeper in the pythons distutils package I assumend 
> using these flags is the intended way?
> 
>> 
>> Michael
> 

Mit freundlichen Grüßen
        Daniel Kriesten
-- 
Daniel Kriesten
Professur Schaltkreis- und Systementwurf
Technische Universität Chemnitz, Reichenhainer Str. 70, 09126 Chemnitz
Tel: +49 371 531 33058  Fax: +49 371 531 833058
http://www.tu-chemnitz.de/etit/sse

Attachment: 0002-fixup-setup.py-call-for-crosscompile.patch
Description: Binary data

-- 
ptxdist mailing list
[email protected]

Reply via email to