public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hresquiveloa at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) Date: Sat, 20 Feb 2010 16:13:00 -0000 [thread overview] Message-ID: <bug-43130-18815@http.gcc.gnu.org/bugzilla/> (raw) Hi all. When I compile gcc-4.4.3 on Mac OS X 10.6 (x86_64) with this configuration: ---------------- ./configure --prefix=/usr/local/openseeslib/gcc/4.4.3/ --enable-languages=c,c++,objc,obj-c++,fortran --with-gmp=/usr/local/openseeslib/gmp/4.3.2/ --with-mpfr=/usr/local/openseeslib/mpfr/2.4.2/ --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10 --target=x86_64-apple-darwin10 ---------------- gcc will not recognize command line option "-mdynamic-no-pic". I mean, I am getting this error after trying to compile a program: ---------------- cc1: error: unrecognized command line option "-mdynamic-no-pic" ---------------- The default gcc (the one that comes with the OS, version 4.2.1) was configured with: ---------------- /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 ---------------- and it is able to recognize "-mdynamic-no-pic". I do not understand why "-mdynamic-no-pic" is not available in my gcc version when I actually used a configuration similar to the one used by Apple. I am guessing that Apple ran a modified gcc version to get this option available, does not it? In such a case, any idea how to get "-mdynamic-no-pic" in my gcc-4.4.3? Thank you! PS: About my computer: MacBook (3.1), Intel Core 2 Duo, Mac OS X 10.6.2 (Snow Leopard). -- Summary: GCC is not recognizing command line option "-mdynamic- no-pic" on Mac OS X 10.6 (x86_64) Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hresquiveloa at gmail dot com GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43130
next reply other threads:[~2010-02-20 16:13 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-02-20 16:13 hresquiveloa at gmail dot com [this message] 2010-02-20 16:24 ` [Bug other/43130] " rguenth at gcc dot gnu dot org 2010-02-20 16:24 ` [Bug target/43130] " pinskia at gcc dot gnu dot org 2010-02-20 16:58 ` [Bug other/43130] " hresquiveloa at gmail dot com 2010-02-20 17:05 ` pinskia at gcc dot gnu dot org 2010-02-20 17:08 ` hresquiveloa at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-43130-18815@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).