Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79854
| Return-Path | <chaselton@gmail.com> |
|---|---|
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'distutils': 0.07; 'modify': 0.07; 'subject:Question': 0.07; 'system;': 0.09; 'undefined': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '(it': 0.16; 'specifying': 0.16; 'subject:Add': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'library': 0.18; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'sorry,': 0.24; 'specify': 0.24; 'unix/linux': 0.24; 'versions': 0.24; 'environment': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'extension': 0.26; 'references': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'unix': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'exceptions': 0.31; 'gcc': 0.31; 'libraries': 0.31; 'file': 0.32; 'there.': 0.32; 'option': 0.32; 'url:python': 0.33; 'sources': 0.33; 'device': 0.34; 'could': 0.34; 'problem': 0.35; 'received:google.com': 0.35; 'building': 0.35; 'found.': 0.36; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'url:mail': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'mentioned': 0.61; 'linked': 0.65; 'subject:Build': 0.68; 'default': 0.69; 'article': 0.77; 'environment;': 0.84; 'ldflags': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JWoPpXlOunsKNYr5al5Xy/1XeC8dAGi1XlSmHSno3o8=; b=Nkt3q4FYLznPuj7xwr+MGBIX2LZO25cDtUApn5XFkT/KA7gz1V8zZJ2rdT/caa/QPi fYZ0FJKzylhm+JvnUylBGJbDUsy+355Yk5DTxjj1LePNYoGkjpgrKm9ciCSY21okovGU La1dC6hs7bq6BZfRdtJ8HgFWz1CIoFSKIsOxzaPGWny/e5NLrZ54GVVW8om8OJ7/GCTT bdYvP6U8Exjh9JccudQjaP9N13rYTr2G0Gv9do+mwWoxvPZCvXxdcuWZBZqefyS7hon0 hPpbcc58+fXGu+DntnjtyY3WzhwMMfWM33o4XE5Zz12T+HnNLk0BEuHYmB1asQm5gwHU ECOQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.202.51.132 with SMTP id z126mr4203117oiz.57.1414528849275; Tue, 28 Oct 2014 13:40:49 -0700 (PDT) |
| In-Reply-To | <nad-939726.01114928102014@news.gmane.org> |
| 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> <nad-939726.01114928102014@news.gmane.org> |
| Date | Tue, 28 Oct 2014 15:40:49 -0500 |
| Subject | Re: Build Question: How to Add -Wl, --option Before Objects In Setup.py? |
| From | Cyd Haselton <chaselton@gmail.com> |
| To | Ned Deily <nad@acm.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | "python-list@python.org" <python-list@python.org> |
| 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.15268.1414528857.18130.python-list@python.org> (permalink) |
| Lines | 38 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1414528857 news.xs4all.nl 2976 [2001:888:2000:d::a6]:53776 |
| X-Complaints-To | abuse@xs4all.nl |
| Path | csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
| Xref | csiph.com comp.lang.python:79854 |
Show key headers only | View raw
On Tue, Oct 28, 2014 at 3:11 AM, Ned Deily <nad@acm.org> wrote: > 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 > > -- > https://mail.python.org/mailman/listinfo/python-list No need to apologize. Also no need to have an understanding of the environment; with a few rare exceptions it behaves just like a Unix/Linux one. The reason why I need to specify --allow-shlib-undefined is for the python library; it's throwing undefined references to sincos even though the symbol is there. Specifying that option is the only fix I've found. As mentioned earlier, i'm not familiar with python or its build system; which file in the distutils dir do I need to modify?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Build Question: How to Add -Wl, --option Before Objects In Setup.py? Cyd Haselton <chaselton@gmail.com> - 2014-10-28 15:40 -0500
csiph-web