Compiler Tools

Our weekly LIVE video chat. Every Wednesday at 8pm ET!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dwalsh62
 
Posts: 1
Joined: Thu Jul 02, 2015 10:21 am

Compiler Tools

Post by dwalsh62 »

OS is Mac OSXS 10.4.11 (Darwin 8.11.0) on XServe PPC

It's not possible to update the OS or change the System so I must work within the confines of the assigned environment.

Due to the nature of the machine/environment, using the available binary is not working as it fails to provide a working installation so I have resorted to building the tools using the old method as outlined in the "Mac Setup" instructions.

I have followed the blog building/installing the tools, when I get to gcc-4.2 it fails to build after issuing 'make CC="cc --no-cpp-precomp"'.

I have tried using gcc3.3 and gcc4.0 and get the same results with a failure when trying to build libiberty

Code: Select all

mkdir build-powerpc-apple-darwin8.11.0
mkdir build-powerpc-apple-darwin8.11.0/libiberty
Configuring in build-powerpc-apple-darwin8.11.0/libiberty
configure: creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo --split-size=5000000
checking for perl... perl
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking for powerpc-apple-darwin8.11.0-ar... no
checking for ar... ar
checking for powerpc-apple-darwin8.11.0-ranlib... no
checking for ranlib... ranlib
checking for powerpc-apple-darwin8.11.0-gcc... cc --no-cpp-precomp
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-build-libiberty] Error 1
make: *** [all] Error 2

Locked
Please be positive and constructive with your questions and comments.

Return to “Ask an Engineer! VIDEO CHAT (closed)”