1 |
On Sat, Sep 08, 2007 at 12:58:04AM -0500, matt wrote: |
2 |
> how do i determine what version of xocde i have installed ? and what |
3 |
> is the lastest version ? |
4 |
> |
5 |
> also, i am on ppc, why where there be code with x86 in it ? |
6 |
|
7 |
that's the odcctools, an opendarwin wrapper around the cctools, which is |
8 |
basically binutils-for-mac. they handle mach-o binaries which can contain ppc, |
9 |
ppc64, i386/i686 and/or x86_64 code (arm, too, due to the iphone, i think). |
10 |
|
11 |
the important part about xcode is actually the version of gcc that comes with |
12 |
it. `/usr/bin/gcc-4.0 --version | head -n1` should give you the important |
13 |
info: |
14 |
|
15 |
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build XXXX) |
16 |
|
17 |
the XXXX should be greater or equal to 5367. |
18 |
|
19 |
for xcode's version, do this: |
20 |
|
21 |
% grep -A1 CFBundleShortVersionString \ |
22 |
/Developer/Applications/Xcode.app/Contents/version.plist |
23 |
|
24 |
you should get |
25 |
|
26 |
<key>CFBundleShortVersionString</key> |
27 |
<string>YYY</string> |
28 |
|
29 |
with YYY equal to 2.4.1 or later |
30 |
|
31 |
|
32 |
-- Elias |
33 |
|
34 |
> |
35 |
> matt |
36 |
> |
37 |
> On Thu, 6 Sep 2007 10:22:10 +0200 |
38 |
> Fabian Groffen <grobian@g.o> wrote: |
39 |
> |
40 |
> > This looks like an outdated Xcode installation. |
41 |
> > |
42 |
> > On 05-09-2007 14:55:37 -0500, matt wrote: |
43 |
> > > make[1]: Leaving directory |
44 |
> > > `/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld' |
45 |
> > > cd ld64 && make make[1]: Entering directory |
46 |
> > > `/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld64' |
47 |
> > > g++ -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DDEBUG |
48 |
> > > -I/Users/matt/gentoo/usr/include -I. -I. -I./src -I../include |
49 |
> > > -I../include -g -O2 -fno-builtin-round -fno-builtin-trunc |
50 |
> > > -no-cpp-precomp -g -O2 -mdynamic-no-pic -c -o |
51 |
> > > ld.o ./src/ld.cpp ./src/MachOWriterExecutable.hpp: In member |
52 |
> > > function 'uint64_t |
53 |
> > > mach_o::executable::ThreadsLoadCommandsAtom<A>::getSize() const |
54 |
> > > [with A = x86_64]': ./src/MachOWriterExecutable.hpp:4644: error: |
55 |
> > > 'x86_THREAD_STATE64_COUNT' was not declared in this |
56 |
> > > scope ./src/MachOWriterExecutable.hpp: In member function 'void |
57 |
> > > mach_o::executable::ThreadsLoadCommandsAtom<A>::copyRawContent(uint8_t*) |
58 |
> > > const [with A = x86_64]': ./src/MachOWriterExecutable.hpp:4706: |
59 |
> > > error: 'x86_THREAD_STATE64' was not declared in this |
60 |
> > > scope ./src/MachOWriterExecutable.hpp:4707: error: |
61 |
> > > 'x86_THREAD_STATE64_COUNT' was not declared in this scope make[1]: |
62 |
> > > *** [ld.o] Error 1 make[1]: Leaving directory |
63 |
> > > `/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld64' |
64 |
> > > make: *** [ld64] Error 2 |
65 |
> > > * |
66 |
> > > * ERROR: sys-devel/odcctools-20070629 failed. |
67 |
> > > * Call stack: |
68 |
> > > * ebuild.sh, line 1592: Called dyn_compile |
69 |
> > > * ebuild.sh, line 928: Called qa_call 'src_compile' |
70 |
> > > * ebuild.sh, line 44: Called src_compile |
71 |
> > > * odcctools-20070629.ebuild, line 40: Called die |
72 |
> > > * |
73 |
> > > * emake failed |
74 |
> > > * If you need support, post the topmost build error, and the call |
75 |
> > > stack if relevant. |
76 |
> > > * A complete build log is located at |
77 |
> > > '/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/temp/build.log'. |
78 |
> > > * |
79 |
> > > fibook:~/gentoo/var/tmp/portage matt$ |
80 |
> > > |
81 |
> > > |
82 |
> > > any suggestion ? |
83 |
> > > |
84 |
> > > matt |
85 |
> > > -- |
86 |
> > > gentoo-alt@g.o mailing list |
87 |
> > > |
88 |
> > |
89 |
> -- |
90 |
> gentoo-alt@g.o mailing list |
91 |
> |