This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 -- prefix support.

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 build
it using the same fink packaging script used for odcctools. However I get
a build failure of...

cc -O -g -I../../include -Wall -Wno-long-double -no-cpp-precomp - fno-builtin-round - D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ - 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/ Library/Frameworks/Kernel.framework/PrivateHeaders/libsa -I/System/ Library/Frameworks/Kernel.framework/PrivateHeaders -I/System/ Library/Frameworks/Kernel.framework/Headers/libsa -I/System/Library/ Frameworks/Kernel.framework/Headers/bsd -I/System/Library/ 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 least /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ar.h).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]