Quoth [email protected] (Dodger):
>
> cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN
> -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
> -I/usr/local/include
> -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE sha1.c
> i686-apple-darwin9-gcc-4.0.1: installation problem, cannot exec 'cc1': No
> such file or directory
> powerpc-apple-darwin9-gcc-4.0.1: installation problem, cannot exec 'cc1': No
> such file or directory
> as: assembler (/sw/bin/../libexec/gcc/darwin/i386/as or
> /sw/bin/../local/libexec/gcc/darwin/i386/as) for architecture i386 not
> installed
> as: assembler (/sw/bin/../libexec/gcc/darwin/ppc/as or
> /sw/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not
> installed
> as: no assemblers installed
> as: no assemblers installed
It looks like your compiler isn't installed correctly. Can you run
something like
cc -arch i386 -arch ppc hello.c
on a file hello.c looking like
#include <stdio.h>
int
main(int argc, char **argv)
{
printf("Hello world!\n");
return 0;
}
and produce an a.out that works?
Maybe you need to install something from the OSX CDs? IIRC the compiler
isn't installed by default.
Ben