public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) @ 2010-02-20 16:13 hresquiveloa at gmail dot com 2010-02-20 16:24 ` [Bug other/43130] " rguenth at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: hresquiveloa at gmail dot com @ 2010-02-20 16:13 UTC (permalink / raw) To: gcc-bugs 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/43130] GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) 2010-02-20 16:13 [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) hresquiveloa at gmail dot com @ 2010-02-20 16:24 ` rguenth at gcc dot gnu dot org 2010-02-20 16:24 ` [Bug target/43130] " pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-02-20 16:24 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-20 16:24 ------- This is a powerpc-only option. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |other http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43130 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/43130] GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) 2010-02-20 16:13 [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) hresquiveloa at gmail dot com 2010-02-20 16:24 ` [Bug other/43130] " rguenth at gcc dot gnu dot org @ 2010-02-20 16:24 ` pinskia at gcc dot gnu dot org 2010-02-20 16:58 ` [Bug other/43130] " hresquiveloa at gmail dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2010-02-20 16:24 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2010-02-20 16:23 ------- Yes have Apple submit their patches for -mdynamic-no-pic for x86_64. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|other |target Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43130 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/43130] GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) 2010-02-20 16:13 [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) hresquiveloa at gmail dot com 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 ` 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 4 siblings, 0 replies; 6+ messages in thread From: hresquiveloa at gmail dot com @ 2010-02-20 16:58 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from hresquiveloa at gmail dot com 2010-02-20 16:58 ------- Thanks Andrew and Richard for your quick reply. If this is a powerpc-only option, why I can successfully compile the program on x86_64 by using the default gcc? Ok... the program I am trying to compile is Tcl-8.5.8 via unix folder (because I do not like the way how tcl is installed in my computer via macosx folder... it creates a framework and I do not want that). It seems that according what you are telling me I just cannot use "-mdynamic-no-pic" option with the gcc source code. I have to modify it, but how? is this a complex task? if so, I will try to modify the tcl makefile.inc. Any suggestion/help will be greatly appreciated for both gcc and tcl. Thank you! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43130 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/43130] GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) 2010-02-20 16:13 [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) hresquiveloa at gmail dot com ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2010-02-20 17:05 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from pinskia at gcc dot gnu dot org 2010-02-20 17:05 ------- As I mentioned Apple has not contributed the option support back to the FSF for x86_64-darwin yet. For TCL building, you might want to go and ask the TCL folks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43130 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/43130] GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) 2010-02-20 16:13 [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) hresquiveloa at gmail dot com ` (3 preceding siblings ...) 2010-02-20 17:05 ` pinskia at gcc dot gnu dot org @ 2010-02-20 17:08 ` hresquiveloa at gmail dot com 4 siblings, 0 replies; 6+ messages in thread From: hresquiveloa at gmail dot com @ 2010-02-20 17:08 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from hresquiveloa at gmail dot com 2010-02-20 17:07 ------- Ok Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43130 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-20 17:08 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-20 16:13 [Bug other/43130] New: GCC is not recognizing command line option "-mdynamic-no-pic" on Mac OS X 10.6 (x86_64) hresquiveloa at gmail dot com 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
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).