Just an update to my previous post asking if anyone has compiled the toolchain for use on a hosted webserver environment such as Dreamhost... I've just had another run at it, (using the excellent guide at http://www.electricrock.co.nz/blog/2010/01/building-c30-v32/ ) and achieved a different success/failure spread from the last time I tried. Dreamhost recently shifted me from 32bit to a 64bit virtual host, and apparently fixed the slightly odd home path issue. Where previously I had difficulty compiling GCC, that part now works perfectly. However, the binutils are all crashing with segfaults. eg: $ bin/pic30-coff-gcc -mcpu=30F4013 -o test test.c -mresource=info/c30_device.info warning: Resource version (3.23) does not match compiler! pic30-coff-gcc: Internal error: Segmentation fault (program pic30-coff-as) same thing if I run any of them (pic30-coff-as, pic30-coff-ld, pic30-coff-objdump, etc) directly. Except 'pic30-coff-bin2hex' for some reason, that one works. contents of pic30-3.23/bin: (with user and group abbreviated to u g) -rwxr-xr-x 1 u g 1257515 2010-03-14 01:14 pic30-coff-addr2line -rwxr-xr-x 2 u g 1193267 2010-03-14 01:14 pic30-coff-ar -rwxr-xr-x 2 u g 2246944 2010-03-14 01:14 pic30-coff-as -rwxr-xr-x 1 u g 1062808 2010-03-14 01:14 pic30-coff-bin2hex -rwxr-xr-x 1 u g 1224686 2010-03-14 01:14 pic30-coff-c++filt lrwxrwxrwx 1 u g 20 2010-03-14 00:24 pic30-coff-gcc -> pic30-coff-gcc-4.0.3 -rwxr-xr-x 2 u g 281329 2010-03-14 00:54 pic30-coff-gcc-4.0.3 -rwxr-xr-x 2 u g 2237578 2010-03-14 01:14 pic30-coff-ld -rwxr-xr-x 2 u g 1299454 2010-03-14 01:14 pic30-coff-nm -rwxr-xr-x 1 u g 1925625 2010-03-14 01:14 pic30-coff-objcopy -rwxr-xr-x 1 u g 2073314 2010-03-14 01:14 pic30-coff-objdump -rwxr-xr-x 1 u g 285680 2010-03-14 00:54 pic30-coff-pic30-coff-cpp -rwxr-xr-x 2 u g 281329 2010-03-14 00:54 pic30-coff-pic30-coff-gcc -rwxr-xr-x 1 u g 15877 2010-03-14 00:54 pic30-coff-pic30-coff-gccbug -rwxr-xr-x 1 u g 96755 2010-03-14 00:54 pic30-coff-pic30-coff-gcov -rwxr-xr-x 2 u g 1193298 2010-03-14 01:14 pic30-coff-ranlib -rwxr-xr-x 1 u g 462012 2010-03-14 01:14 pic30-coff-readelf -rwxr-xr-x 1 u g 1080569 2010-03-14 01:14 pic30-coff-size -rwxr-xr-x 1 u g 1063860 2010-03-14 01:14 pic30-coff-strings -rwxr-xr-x 2 u g 1925624 2010-03-14 01:14 pic30-coff-strip so the binaries have sane names and sizes, at least. System info: $ uname -a Linux panthers 2.6.32.8-grsec-2.1.14-modsign-2-xeon #1 SMP Tue Feb 23 00:29:06 UTC 2010 x86_64 GNU/Linux Anyone got the 3.23 toolchain working on 64bit linux/xeon machines? Or any version compiled for 64bit? I have a feeling that's the issue. The REALLY funny thing is the 3.20 binutils binaries I compiled months ago (when the binutils compiled fine, but gcc just wouldn't) still work! (yay for binary compatibility.) I'd rather not borg together 32bit binutils 3.20 and 64bit gcc 3.23, though. Help! -- Jeremy Lee BCompSci (Hons) The Unorthodox Engineers www.unorthodox.com.au -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist