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?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'modify': 0.07; 'subject:Question': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:How': 0.10; 'python': 0.11; '(it': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Add': 0.16; 'wrote:': 0.18; 'library': 0.18; 'seems': 0.21; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'sorry,': 0.24; 'specify': 0.24; 'versions': 0.24; 'environment': 0.24; 'extension': 0.26; 'header:X-Complaints-To:1': 0.27; 'unix': 0.29; "i'm": 0.30; 'gcc': 0.31; 'libraries': 0.31; 'sources': 0.33; 'device': 0.34; 'could': 0.34; 'problem': 0.35; 'building': 0.35; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'skip:- 20': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:u 10': 0.60; 'linked': 0.65; 'subject:Build': 0.68; 'default': 0.69; 'received:204': 0.75; 'article': 0.77; 'ldflags': 0.84; 'received:204.14': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: Build Question: How to Add -Wl, --option Before Objects In Setup.py?
Date Tue, 28 Oct 2014 01:11:50 -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>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.216
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15255.1414483924.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414483924 news.xs4all.nl 2867 [2001:888:2000:d::a6]:58553
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79828

Show key headers only | 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