xSellize: Toolchain for iOS 4.2 - xSellize

Jump to content




Remove all advertisements.

Posting Rules

Please only post applications if they are open source with a link to the source code and brief description on what the applications does.
Do not post requests to hacks or cracks here.
Do feel free to start a discussion on your app idea you never know someone might make it.
  • (3 Pages) +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Toolchain for iOS 4.2

#41
User is offline   sl0t 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 28-November 11
I decided to try again following the instructions from http://code.google.c...ki/Installation.

Downloaded the updated toolchain and toolchain.sh provided by denis.fr...@laposte.net in the comments section.

Managed to get farther this time using the following instructions from the user comments:

Quote

1. mkdir -p toolchain/pre/bin -- for installing ldid
2. mkdir -p toolchain/src -- for script mv odcctools to src dir
3. modify cctools2odcctools/extract.sh and insert "cp files/misc/Makefile.in ${DISTDIR}/misc/Makefile.in" -- the extract.sh script try to patch none existing file


Quote

With some fiddling, I'm making progress. I changed the toolchain.sh so that the cctools configure explicitly says --disable-ld64

Quote

gone a little deeper in the script ./extract.sh, and found my problem. On my Ubuntu, /bin/sh is linked to /bin/dash, and in this interpreter, there is no pushd/popd command. In my case, replacing #!/bin/sh by #!/bin/bash at beginning of extrash.sh did the trick.



At some point I got this error message:
configure: error: No uuid_generate_random function found


So I had to install uuid and uuid-dev:
apt-get install uuid uuid-dev


Then I finally got that last error mentioned on the hungarian site, translated by google:

Quote

But in the fourth command (. / Build toolchain.sh) will NOT work: lots of downloads and SVN, GIT and patch file and pressing checkout you will receive an error message after: building odcctools failed. This "normal" is because of the defective part toolchain source code. Solution: go into the ~ / ios-toolchain/toolchain/src/cctools/ld64/src folder and then add them all in there. HPP shall file extensions (for example, can be solved by placing the code to the clipboard, and HPP *. gedit command)


So I added the following to the beggining of every HPP file in cctools/ld64/src folder:
// PATCH is to work with the build - by H2CO3, 18/12/2010
#import <cstdio>
#import <cstdlib>
#import <climits>
// end of PATCH



But now I'm getting several errors like these:

Quote

/usr/toolchain4/toolchain/toolchain/src/cctools/ld64/src/MachOReaderRelocatable.hpp:182:2: error: invalid use of incomplete type âstruct mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64, mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds, uint32_t = unsigned int]::BaseAtomâ
/usr/toolchain4/toolchain/toolchain/src/cctools/ld64/src/MachOReaderRelocatable.hpp:182:2: error: declaration of âstruct mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64, mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds, uint32_t = unsigned int]::BaseAtomâ


Any idea of what may be wrong this time? :(

This post has been edited by sl0t: 29 November 2011 - 01:58 PM

0


#Ads
User is online x-bot

  • Ad-Bot
  • Group:x-bot




#42
User is offline   H2CO3 

  • Senior Member
  • PipPipPipPipPipPipPip
  • Group: +Contributor
  • Posts: 405
  • Joined: 13-January 11
I also noticed that I was unable to compile this on Ubuntu 11.10. You may try the precompiled version.

I also noticed that I was unable to compile this on Ubuntu 11.10. You may try the precompiled version.
*** Please don't forget to hit ‘+’ to give me reputation if you liked my app! ***
iPhone 3G 8GB
iOS 4.2.1 + redsn0w
Ubuntu linux 11.10 Ocelot - with Unity 3D

http://www.youtube.c...=i1Nj_g_zO90
Follow me on Twitter
My web page

My GitHub repo
0

#43
User is offline   sl0t 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 28-November 11
I didn't get your precompiled version because my system is 32 bits.
0

#44
User is offline   sl0t 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 28-November 11
I give up, I can't find instructions to install a 4.0+ toolchain on a 32bit linux.
Tried everything, but I always end up with problems when running cctools or clang.

I guess I'll just stick with my old machine until I can get a 64bit one. :(
0

#45
User is offline   zloisop 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 06-January 12

H2CO3 said:


Hi!
I read your hungarian article and totally confused about versions. You write that you youse iphone_sdk_3.1.3_with_xcode_3.1.4__leopard__9m2809a.dmg
but here you put sys42, is it for sdk 4.2 or i miss something? Is it possible to take headers from ios5 SDK and will they work with llvm-gcc 4.2 or some anothrer open gcc?
Sorry for lame questions(=



0

#46
User is offline   Cortex 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 21-April 12
Can somebody update this for iOS 5, please ?
0

#47
User is offline   MacHackII 

  • Newbie
  • Pip
  • Group: +Contributor
  • Posts: 2
  • Joined: 18-April 11

Cortex said:

1335012207[/url]' post='711018']
Can somebody update this for iOS 5, please ?


Already done: https://github.com/javacom/toolchain4
0

Share this topic:


  • (3 Pages) +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic


Close  Member Login