Building Apple GCC with GDC

David Friedman dvdfrdmn at users.ess-eff.net
Mon Dec 11 16:49:08 PST 2006


Anders F Björklund wrote:
> David Friedman wrote:
> 
>>> Thanks for the build info, will try it again on the Intel Mac...
>>>
>> Also, I was able to build with gcc-5363 after installing the latest 
>> Xcode (only tried it on Intel.)
> 
> Yes, it built just fine now when I tried it again. The patching
> for build_gcc failed (against gcc-5363), but fixed it manually.
> 
> For now I left the symlink gdc -> gdc-4.0 in the gdcmac archive,
> but think I will do it in the PKG post-install script instead...
> 
> i.e. only supply gdc-4.0 and gdc-3.3 in the actual archives ?
> (and gdmd wrapper too, it will follow whatever "gdc" is using)
> 
> Is there a way to relocate libgphobos.a to e.g. gcc folder,
> so that you can install both of GCC 3.3 and GCC 4.0 at once ?
> 
> Thanks!
> --anders
> 
> PS.
> Scrapping the "10.4-intel" and "universal" gdcmac versions,
> it will all go in the same 10.4 PKG/DMG version for GDC 0.20

You can move ligphobos.a and libgphobos.spec to 
<prefix>/lib/gcc/<target>/<version> (where libgcc.a is).

That said, I am planning to drop support for GCC 3.3 in the next (0.21) 
release.  When I asked, I didn't get a response from anyone who was 
actually using it...

David


More information about the D.gnu mailing list