Author Topic: cctools-822  (Read 830 times)

LeoTh3o

  • Sr. Member
  • ****
  • Posts: 256
  • Reputation: 54
    • ET&C
  • Computers: MacBook Pro 15', half 2009, OS X 10.8.4
  • iDevices: iPad 2 WiFi iOS 5.1.1 jb
cctools-822
« on: May 13, 2012, 04:56:49 am »
I have built them, but I'm a bit worried about the installation. if someone's able to track down in each Makefile where things should go he can create a decent deb from here.
http://db.tt/LvEIJuHp

As it is now, the package can be used to substitute old programs with newer and hopefully working ones: I had a problem with lipo calling for _map_fd symbol, which is no more used, while now I can use it without problems.
« Last Edit: May 13, 2012, 10:07:03 am by LeoTh3o »
0xEB        0xFE
jmp short -2

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: cctools-822
« Reply #1 on: May 13, 2012, 03:52:39 pm »
I did the same and recompiled cctools. I never packaged them before because I didn't port all of cctools, just some:


/usr/bin/ar_*                 /usr/bin/lipo_*
/usr/bin/check_dylib_*        /usr/bin/nm_*
/usr/bin/checksyms_*          /usr/bin/otool_*
/usr/bin/cmpdylib_*           /usr/bin/pagestuff_*
/usr/bin/codesign_allocate_*  /usr/bin/seg_addr_table_*
/usr/bin/ctf_insert_*         /usr/bin/seg_hack_*
/usr/bin/gprof_*              /usr/bin/segedit_*
/usr/bin/indr_*               /usr/bin/size_*
/usr/bin/inout_*              /usr/bin/strings_*
/usr/bin/install_name_tool_*  /usr/bin/strip_*


^ This is the output of ls /usr/bin/*_. I installed all of the newly compiled cctools packages with a trailing underscore so i could have them installed side by side. These new ones correctly handle the old error "Unknown load command 4."

All of these cctools do need to go in /usr/bin.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: cctools-822
« Reply #2 on: May 13, 2012, 03:56:34 pm »
Btw, the package "odcctools" in cydia is the version that you would need to replace, just make sure to replace *ALL* of the files that it contains, because it has more than the standard "cctools" package has.