This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Apple specific options: patch to include them in the currentrelease gcc?


Remy X.O. Martin wrote:

Hello,

Apple has added a number of options to their gcc compilers which are quite necessary when building Cocoa/Carbon applications, and esp. when used with XCode; among others, -F <framework path>, -framework <name> and a few more. The framework related options *can* be emulated, but that's quite tricky.

Is anyone here aware of a set of patches that would introduce the (most important) Apple-specific options into gcc? I reckon there's a reason they're not included in the mainstream gcc releases, but I think (without having checked) that Apple's version is available from OpenDarwin.org . In that case, patches *might* exist...

"Most important" has multiple interpretations. The full set of
Apple's changes is rather large, but many of the bits are only
needed to build OS X components, and not needed for applications
using OS X APIs. As Mike mentioned, apple-ppc-branch in CVS is
the compiler we're planning to have in Tiger, but at this point
I think it only builds on Tiger; if you want a Panther compiler
out of it, some configury work will likely be needed, or an
updated assembler/linker.

OpenDarwin would be a good place to get the exact Panther GCC.

I don't think anybody knows the exact set of patches that
current FSF GCC would need to build a standard test app like
AppearanceSample on Panther, but it's probably not that many;
many of the flags that Xcode passes, such as -fpascal-strings
or -fasm-blocks, could even be accepted but ignored.

Stan



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