Closed Torrekie closed 3 years ago
This looks quite interesting, I tried compiling it when I my iPhone was jailbroken but I couldn't get it to work.
Did you have to install a package that includes the header files (and the C compiler)?
This looks quite interesting, I tried compiling it when I my iPhone was jailbroken but I couldn't get it to work.
Did you have to install a package that includes the header files (and the C compiler)?
I poured all the contents from an iPhoneOS sdk to the corresponding path in /usr so I could compile C/Cpp/ObjC codes on my device. And yes, C compilers can be found in Elucubratus or Procursus depending on which jailbreak tool are using
This looks quite interesting, I tried compiling it when I my iPhone was jailbroken but I couldn't get it to work.
Did you have to install a package that includes the header files (and the C compiler)?
I poured all the contents from an iPhoneOS sdk to the corresponding path in /usr so I could compile C/Cpp/ObjC codes on my device.
And yes, C compilers can be found in Elucubratus or Procursus depending on which jailbreak tool are using
Cool, that's good to know for if I ever jailbreak my phone again. Thanks!
iOS and macOS both returns "Darwin" when reading uname, so when running on iOS it outputs like that:
For a jailbroken iOS device, APT is the default package manager, so I replaced getPkgCont to the same one that Debian/Ubuntu uses. This pr fixes the issue and it will work properly on iOS devices.