This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Darwin / Mac OS X native support


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]