Woah, dude, that's not how you run gcc. gcc invokes language-specific backends, for example /usr/libexec/gcc/darwin/ppc/3.3/cc1. It sounds like you used a Kevin's gcc driver but not the language backend. Don't do that. You need to chroot into the build root to use it properly. Shantonu On Aug 7, 2005, at 8:32 AM, Michael Franz wrote:
On 8/7/05, Shantonu Sen <ssen@opendarwin.org> wrote:
The patched roots work for me (at least gcc_os (gcc 3.3) did). How did you install it?
Shantonu
I copied the downloaded version to /usr/local/share/darwinbuild/cache/Roots/8A428/ and named it gcc.root.tar.gz. Removed everything in the Build8A28/BuildRoot directory, and then did darwinbuild gcc.
Once the build root environment was created,I then ran: /var/root/development/Build8A428/BuildRoot/usr/bin/gcc -S -o - -arch i386 foo.c | grep xmm > test1.out /var/root/development/Build8A428/BuildRoot/usr/bin/gcc -S -o - -arch i386 foo.c -mno-sse2 | grep xmm > test2.out /var/root/development/Build8A428/BuildRoot/usr/bin/gcc -S -o - -arch i386 foo.c -march=pentiumpro | grep xmm > test3.out
For testing the built versions, I change the path to gcc-4.0 in the Symbols directory.