So basically, I need to know if there is an iPhone C compiler that can be installed on the iPhone... Then I would like to know what parameter I would put in the system("compile Foo")
function. Thanks for the help in advanced.
views:
227answers:
1
+4
A:
Unfortunately for your purposes, an app store app is not permitted to launch another process, which would mean that you couldn't use another compiler even if you could install one on the phone.
jer
2010-05-28 03:46:09
Sorry if I sound uncouth: But I don't care. You can still use whatever app you make on your own personal iPhone.
thyrgle
2010-05-28 03:48:23
@thyrgle - what are you saying? iPhone apps are *not able* to launch any other apps - regardless of what you feel you should be able to do.
webdestroya
2010-05-28 04:01:27
@webdestroya: But can't they make system calls? And then can't they launch stuff using command lines? Anyway, its not really an "App" per say, its a program but an app typically has a standard kind of format and extension. I mean it wouldn't be a standard app that a person would typically picture when they think of an iPhone app.
thyrgle
2010-05-28 04:24:30
@thyrgle - No, I don't believe they can (but I am not 100% sure). But "Not being a standard app" doesn't much matter. You are still held to whatever restrictions apple places on iPhone apps, no matter how non-standard it is.
webdestroya
2010-05-28 04:59:45
@webdestroya: Well when I say "Not being a standard app" I mean it doesn't have .ipa extension necessarily, and also, it really just a command-line program. I'm having trouble finding the exact words... It doesn't have a icon either if that helps...
thyrgle
2010-05-28 05:12:16
@thyrgle - Sorry, I am not really an iPhone developer, so I probably can't answer much more. I am just saying that the regular apps that are loaded don't have subsystem access like that (I believe). But I can always be wrong
webdestroya
2010-05-28 05:13:41
Well, without knowing what exactly you mean by "system call" -- i.e., are you referring to calling into the kernel, or a system() like interface? If the latter, no; I'm not 100% sure on the former, but I'm pretty sure your app won't have access to the kernel at that level. That said, in my own apps, I haven't really even looked.
jer
2010-05-28 05:23:11
I'm referring to kernel...
thyrgle
2010-05-29 22:00:55
you can jailbreak but without jailbreaking, no you can't do what you want.
fuzzy lollipop
2010-06-27 01:04:49