Re: Running a C compiler from within an app sandbox

2014-06-16 Thread Maxthon Chan
It is not the problem that they are not signed, but the problem that the fork(2) syscall is prevented from working in sandbox. Using the compiler as a library eliminated all the fork(2) calls. On Jun 17, 2014, at 9:33, SevenBits wrote: > On Jun 16, 2014, at 9:25 PM, Maxthon Chan wrote: > >>

Re: Running a C compiler from within an app sandbox

2014-06-16 Thread SevenBits
On Jun 16, 2014, at 9:25 PM, Maxthon Chan wrote: > You are not allowed to run unsigned code from within the app sandbox. Are the command line developer tools not signed? One would think that they would be signed with Apple’s certificate… I have been able to execute other executables in /bin an

Re: Running a C compiler from within an app sandbox

2014-06-16 Thread Maxthon Chan
You are not allowed to run unsigned code from within the app sandbox. There are some way to circumvent this, but it will require you to call the compiler as a library. Look into lib clang any you will find out how to link clang into your app, and compile within your own program code. On Jun 17,