DSSS install of gdc-gcc-4.1 fails on OS X
Steven Grimm
koreth at midwinter.com
Fri Sep 21 18:16:39 PDT 2007
Following the advice in the tutorial videos on the DSSS page, I ran
"dsss net install gdc-gcc-4.1" to get a fresh install of gdc on my
machine. It downloaded and compiled a bunch of stuff, but then errored out:
MLIBS=`/private/tmp/DSSS_gdc-gcc-4.1/4.1/gcc-4.1.2/build/./gcc/xgcc
-B/private/tmp/DSSS_gdc-gcc-4.1/4.1/gcc-4.1.2/build/./gcc/
-B/Users/d/d/i386-apple-darwin8.10.1/bin/
-B/Users/d/d/i386-apple-darwin8.10.1/lib/ -isystem
/Users/d/d/i386-apple-darwin8.10.1/include -isystem
/Users/d/d/i386-apple-darwin8.10.1/sys-include --print-multi-lib \
| sed -e 's/;.*$//' -e '/^\.$/d' -e 's/^/_/'` ; \
for mlib in '' $MLIBS ; do \
strip -o libgcc_s.10.4.dylib_T${mlib} \
-s ../../gcc/config/i386/darwin-libgcc.10.4.ver -c -u \
libgcc_s${mlib}.1.dylib || exit 1 ; \
done
strip: can't open file:
/private/tmp/DSSS_gdc-gcc-4.1/4.1/gcc-4.1.2/build/gcc/libgcc_s.1.dylib
(No such file or directory)
make[2]: *** [libgcc_s.10.4.dylib] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2
+ exit 1
Command ./dsssgdc returned with code 256, aborting.
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.
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.
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.
Thanks for any advice anyone can give me!
More information about the D.gnu
mailing list