• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help - custom compiler spec, but nothing happens!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help - custom compiler spec, but nothing happens!


  • Subject: Re: Help - custom compiler spec, but nothing happens!
  • From: "Timothy J. Wood" <email@hidden>
  • Date: Sun, 16 Nov 2003 20:55:59 -0800

On Sunday, November 16, 2003, at 06:08  PM, Scott Tooker wrote:

Setting up your own custom compiler spec doesn't work in Xcode 1.0.

Huh? It's working for me (at least minimally). Maybe I'm misunderstanding, but...


% cat '~/Library/Application Support/Apple/Developer Tools/Specifications/Extra.pbcompspec'
(
// OmniGL CC
{
Identifier = com.omnigroup.compilers.gcc.ogl-cc;
Class = PBXCompilerSpecificationGcc3_3;
BasedOn = com.apple.compilers.gcc;
Name = "OmniGL GCC Wrapper";
Version = "1.0";
Vendor = "OmniGroup";
ExecPath = "/Users/Shared/$(USER)/Source/OmniGames/OmniGamePlatform/Scripts/ogl- cc";
SupportsGCCStylePCH = yes;
OptionsForCommandLine = (MINGW_BUILD_STYLE);
Options = {
MINGW_BUILD_STYLE = {
Type = enum;
AllowedValues = (DLL, LIB);
DefaultValue = DLL;
CommandLineArgs = { "<<otherwise>>"=("-MINGW_BUILD_STYLE=${0}"); };
CommonOption = NO;
};
};
OptionCategories = (
{ Name = Stuff;
IconName = "PBX-option-build";
Options = (
MINGW_BUILD_STYLE,
);
},
);
}
)


I can select 'OmniGL GCC Wrapper' as the compiler for 'C' files in Xcode and it runs my 'ogl-cc' script. I do actually get a '-MINGW_BUILD_STYLE=(DLL|LIB)' command line argument passed too, even though there is no UI present in the settings panel (I just have to manually add it to the settings).

-tim
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Help - custom compiler spec, but nothing happens!
      • From: Scott Tooker <email@hidden>
References: 
 >Re: Help - custom compiler spec, but nothing happens! (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Syntax coloring in JSP and XML?
  • Next by Date: Re: Integrating HeaderDoc into Xcode build
  • Previous by thread: Re: Help - custom compiler spec, but nothing happens!
  • Next by thread: Re: Help - custom compiler spec, but nothing happens!
  • Index(es):
    • Date
    • Thread