This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Darwin / Mac OS X native support
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: PATCH: Darwin / Mac OS X native support
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Fri, 2 Mar 2001 00:08:04 +0000
- Cc: gcc-patches at gcc dot gnu dot org
- References: <3A9ECCF9.3B9AA385@apple.com>
Hi Stan,
Stan Shebs wrote:-
> + #undef CPP_SPEC
> + #define CPP_SPEC "%{!traditional: -D__STDC__} \
> + %{mdisable-fpregs:-D__NO_FP__} \
> + %{F*} %{ansi} %{fno-asm} %{header-mapfile} \
> + -D__APPLE_CC__=" STRINGIFY(APPLE_CC) " \
> + %{static:-D__STATIC__}%{!static:-D__DYNAMIC__}\
> + %{MD:-MD %M} %{MMD:-MMD %M}"
I'm quite sceptical about the MD and MMD stuff. Also, the traditional
bit can go. We have two different preprocessors now; that solves that
issue.
> + #define LINK_COMMAND_SPEC \
> + "%{!fsyntax-only: \
> + %{!c:%{!M:%{!MM:%{!E:%{!precomp:%{!S: \
I've not looked at what this is trying to achieve in detail; !M* might
be more correct in place of the !M && !MM.
Neil.