Open GoogleCodeExporter opened 8 years ago
Guess the issue tracker doesn't follow the wiki styles, sorry!
Original comment by jfanaian
on 22 Oct 2009 at 1:13
Get the same problem at ubuntu 9.04 with gcc 4.3.3,
can any one fix it?
Original comment by kvnk...@gmail.com
on 23 Oct 2009 at 12:27
I resolved *this* issue, although I got stuck somewhere else. Basically, the
script
wasn't copying the Leopard SDK correctly. I'm not exactly sure why but all I
did was
manually copy the usr/lib/ from within the MacOSX10.5.sdk to the sys directory.
To do this, from the trunk directory (where toolchain.sh is):
cp -r sdks/MacOSX10.5.sdk/usr/lib/ toolchain/sys/usr/lib/
Original comment by jfanaian
on 23 Oct 2009 at 4:19
[deleted comment]
I get same errors after cp usr/lib to the system directory, attaching my
make.log file.
There are many "/./" in the path names, so I guess maybe the changed we make to
toolchain.sh cases these errors.
Original comment by kvnk...@gmail.com
on 24 Oct 2009 at 3:25
Attachments:
Hi,
I did the cp -r suggested by jfanaian, but it wasn't enough. I finally got it
to go
further after I copied everything from MacOSX10.5.sdk into toolchain/sys. After
that,
I got into another issue: seems I had replaced some iPhone files by MacOSX
files. So
I was getting linking errors, especially on libc.dylib.
libc.dylib points to libSystem.B.dylib so I replaced the libSystem.B files I
had with
the ones from iPhoneOS3.1.2.sdk. Then the toolchain was built correctly.
Afterwards, when trying to build the Hellotoolchain app, it couldn't find
UIKit. So I
copied that from the iPhoneOS3.1.2.sdk, and then did the same for
CoreFoundation and
Foundation.
Now the Hellotoolchain.app is on my iPhone. But I'm pretty sure that if I use
other
Frameworks I'll have problems.
I'll try to start from the beginning and copy the files from the SDKs and the
firmware manually. I think I should do it in these order: iPhone framework, than
iPhone SDK and finally MacOSX SDK without replacing files.
Hope all this will help you guys.
Original comment by fsaft...@gmail.com
on 8 Nov 2009 at 8:56
fsaftoiu, no need to copy or link anything just don't let the toolchain.sh
clean the
build after you finish and then add this to your LDFLAGS:
LDFLAGS= -isysroot ../../sdks/iPhoneOS3.1.2.sdk/ -lobjc
Original comment by FreeLanc...@gmail.com
on 15 Nov 2009 at 11:55
Original issue reported on code.google.com by
jfanaian
on 22 Oct 2009 at 1:11