• 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: Scott Tooker <email@hidden>
  • Date: Mon, 17 Nov 2003 20:39:57 -0800

Perhaps, "doesn't work" is a bit strong. A better word would be
"unsupported" :)

Scott

On Nov 16, 2003, at 8:55 PM, Timothy J. Wood wrote:

>
> 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

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >Re: Help - custom compiler spec, but nothing happens! (From: "Timothy J. Wood" <email@hidden>)

  • Prev by Date: Re: building select files with debug info
  • Next by Date: Re: Build Styles
  • 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