DSSS install of gdc-gcc-4.1 fails on OS X
Anders F Björklund
afb at algonet.se
Sat Sep 22 01:44:33 PDT 2007
Steven Grimm wrote:
> Is this a known issue on OS X? Is installing gdc using DSSS only
> supported under Linux? If this problem is something new, I'll be happy
> to provide any information that'll help diagnose the problem; just let
> me know what's useful.
FSF GCC has several issues on Mac OS X, this might be one of them ?
The regular builds of GDC instead uses the Apple GCC, e.g. gcc-5363.
> Also, I note with some suspicion that it thinks it's building for the
> i386 architecture, when in fact it should be i686 -- probably not a huge
> difference but I assume the i686 target would generate different code to
> take advantage of new instructions, etc. I'm happy to live with i386 for
> now if I can get it to work at all.
The Apple build does --with-arch=nocona --with-tune=generic
for i686, the platform has been arch i686 since Mac OS X 10.4
(Intel Darwin version 7 and earlier instead used arch i386)
Probably doesn't make a huge difference, just like you say.
> I had previously downloaded an OS X installer for gdc, which worked (and
> is how I got a DSSS binary) but it installed itself in /usr and I'd
> rather install in a user account for now so I can easily package up the
> environment and copy it to other machines.
Beyond the fact that you can install it to a different prefix,
you can get the tarball version at http://dgcc.sourceforge.net/
--anders
More information about the D.gnu
mailing list