diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-17 06:48:01 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-17 06:48:01 +0000 |
commit | 650c26dcb9eee6970b698a2f4cb340892fc5460a (patch) | |
tree | d90cad857cdc7befcd4cafdeb04e5648285d0b52 /gcc/config/darwin9.h | |
parent | c3c9825dcaf4fb4c122a4dab90b1476a720ecd49 (diff) | |
download | gcc-650c26dcb9eee6970b698a2f4cb340892fc5460a.tar.gz |
* config/darwin.h (LINK_COMMAND_SPEC): Don't do dwarf stuff on
pre-darwin9 system, unless the user asks for it directly.
(PREFERRED_DEBUGGING_TYPE): Likewise.
* config/i386/darwin.h (PREFERRED_DEBUGGING_TYPE): Likewise.
* config.gcc: Add suppport for darwin9.h.
* config/darwin9.h: Add.
* doc/install.texi (Specific): Clarify darwin documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118917 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r-- | gcc/config/darwin9.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h new file mode 100644 index 00000000000..ef9890a6741 --- /dev/null +++ b/gcc/config/darwin9.h @@ -0,0 +1,20 @@ +/* Prefer DWARF2. */ +#undef PREFERRED_DEBUGGING_TYPE +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG +#define DARWIN_PREFER_DWARF + +#undef LINK_COMMAND_SPEC +#define LINK_COMMAND_SPEC "\ +%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ + %{!Zdynamiclib:%(linker)}%{Zdynamiclib:/usr/bin/libtool} \ + %l %X %{d} %{s} %{t} %{Z} \ + %{!Zdynamiclib:%{A} %{e*} %{m} %{N} %{n} %{r} %{u*} %{x} %{z}} \ + %{o*}%{!o:-o a.out} \ + %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ + %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \ + %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \ + %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \ + %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ +%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ + %{.c|.cc|.C|.cpp|.c++|.CPP|.m|.mm: \ + %{g*:%{!gstabs*:%{!gnone: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}" |