This is the mail archive of the
mailing list for the GCC project.
Re: which cctool on Darwin?
Building cctools from source is like stabbing yourself in the kidney.
You should use darwinbuild if you want to build the Apple-provided
source only, or use odcctools if you want additional portability
patches to build on multiple OSes and versions and have relocatable --
I've already imported Apple cctools-590.42.1 and Apple ld64-47.2 into
odcctools CVS, and will release a snapshot after some more work.
On Jun 5, 2006, at 7:08 PM, Geoffrey Keating wrote:
On 05/06/2006, at 6:55 PM, Jack Howarth wrote:
Okay. I downloaded the cctools-590.42.1.tar.gz and attempted to
it using the same fink packaging script used for odcctools. However
a build failure of...
cc -O -g -I../../include -Wall -Wno-long-double -no-cpp-precomp -
D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -static -DRLD -
DSA_RLD -fno-builtin -finline -fno-keep-inline-functions -fsigned-
bitfields -force_cpusubtype_ALL -msoft-float -nostdinc -I/System/
Frameworks/Kernel.framework/Headers -DKERNEL -DKERNEL_PRIVATE -
DAPPLE -DNeXT -DLIBSA_PRIVATE -c \
-MD -dependency-file ./get_toc_byte_sex.d \
-o ./get_toc_byte_sex.o ../get_toc_byte_sex.c
../get_toc_byte_sex.c:25:16: error: ar.h: No such file or directory
../get_toc_byte_sex.c: In function 'get_toc_byte_sex':
which has been apparently been reported on the darwin lists without
Any suggestions for working around this problem?
You probably need to have Xcode 2.3 installed to build this version
of cctools. You may also need to use the 10.4u SDK or be working on
an Intel machine (My installation of Xcode 2.3 has an ar.h in at