www.digitalmars.com         C & C++   DMDScript  

D.gnu - gdc.pbcompspec

reply Fredrik Olsson <peylow gmail.com> writes:
David Friedman have written a comspec-file for XCode and gdc, it is 
included in the xcode support package, but commented as not working.

Brave as I am I manually installed the file to see what kind of error it 
would give and if I could fix it. I pretty much verified that it did not 
work and all I got was:
undefined compiler specification net.sourceforgenet.gdcmac; 
specification may be missing or target may be misconfigured

Not much of a descriptive error. Also the compiler does show up as:
Unknown compiler net.sourceforgenet.gdcmac

When selecting GDC (Properly added to the list at least) as compiler 
under build rules.

I guess the pbcompspec is invalid somehow. Well, searching for pbcomspec 
on google yields seven results, and on Apple's developer pages none. So 
is there some documentation on the format available? David who wrote the 
original should have some? Or maybe someone has access the the 
pbcompfile for XL C/C++ compiler?

regards
	Fredrik Olssn
Aug 07 2005
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Fredrik Olsson wrote:

 David Friedman have written a comspec-file for XCode and gdc, it is 
 included in the xcode support package, but commented as not working.
Actually it was me that wrote the Xcode spec, David Friedman wrote GDC.
 Brave as I am I manually installed the file to see what kind of error it 
 would give and if I could fix it. I pretty much verified that it did not 
 work and all I got was:
 undefined compiler specification net.sourceforgenet.gdcmac; 
 specification may be missing or target may be misconfigured
I haven't been able to do a proper mapping, so I'm using shell scripts.
 I guess the pbcompspec is invalid somehow. Well, searching for pbcomspec 
 on google yields seven results, and on Apple's developer pages none. So 
 is there some documentation on the format available? David who wrote the 
 original should have some? Or maybe someone has access the the 
 pbcompfile for XL C/C++ compiler?
As usual Apple don't document their "internal" Xcode formats much... but it's not really functional and even less so in Tiger :-( If anyone makes it run, let me know and I can put it on GDCMac ? http://gdcmac.sourceforge.net/ --anders
Aug 07 2005
parent Fredrik Olsson <peylow gmail.com> writes:
Anders F Björklund wrote:
 Fredrik Olsson wrote:
 
 David Friedman have written a comspec-file for XCode and gdc, it is 
 included in the xcode support package, but commented as not working.
Actually it was me that wrote the Xcode spec, David Friedman wrote GDC.
Cretid where credit is due. The XCode integration kit much appreciated as it is. For some reason I find a graphical debugger 10 times as important then any fancy text editor. So just getting it up and able to dbug in XCode is good enough for me :). <snip>
 I guess the pbcompspec is invalid somehow. Well, searching for 
 pbcomspec on google yields seven results, and on Apple's developer 
 pages none. So is there some documentation on the format available? 
 David who wrote the original should have some? Or maybe someone has 
 access the the pbcompfile for XL C/C++ compiler?
As usual Apple don't document their "internal" Xcode formats much... but it's not really functional and even less so in Tiger :-( If anyone makes it run, let me know and I can put it on GDCMac ? http://gdcmac.sourceforge.net/
I think I will give it a go. For Pascal I have only used FreePascal (http://www.freepascal.org) as it has many nice features from Delphi that GNU Pascal lacks. The XCode integration for Free Pascal has no, even not an empry for, compiler spec for it. So a link to the Pascal and regards Fredrik Olsson
Aug 07 2005