Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79828

Re: Build Question: How to Add -Wl, --option Before Objects In Setup.py?

From Ned Deily <nad@acm.org>
Subject Re: Build Question: How to Add -Wl, --option Before Objects In Setup.py?
Date 2014-10-28 01:11 -0700
References <CAHu5PrbHSob2r-zOTCtrYiqdudU_q+4mDXOXzp=_ReJp7khTDg@mail.gmail.com> <nad-150419.13393227102014@news.gmane.org> <CAHu5PrY-T=DT3wOg-Y+Va9WgwBV3w9d7M-tu=_N-CNgWsSzGpg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15255.1414483924.18130.python-list@python.org> (permalink)

Show all headers | View raw


In article 
<CAHu5PrY-T=DT3wOg-Y+Va9WgwBV3w9d7M-tu=_N-CNgWsSzGpg@mail.gmail.com>,
 Cyd Haselton <chaselton@gmail.com> wrote:
[...]
> I'm building python on an Android device in the KBOX
> environment...which simulates a Unix type filesystem.
> Python isn't installed; I'm building from sources (2.7.8) with GCC
> 4.8.0 and make.
> 
> The problem with the LDFLAGS approach is that some of the libraries
> that must be linked (-lc -ldl) do not need the --allow-shlib-undefined
> option...it's only the lpython2.7 that does.  Any way to do this?

Sorry, I have no experience with that environment nor an understanding 
of why you need to specify --allow-shlib-undefined (it seems to be the 
default in some versions of ld).  You could look at and, if necessary, 
modify Lib/distutils, the part of the Python standard library that 
builds extension modules from setup.py.

-- 
 Ned Deily,
 nad@acm.org

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Build Question: How to Add -Wl, --option Before Objects In Setup.py? Ned Deily <nad@acm.org> - 2014-10-28 01:11 -0700

csiph-web