Hey, folks.
I'm using Gambit on the iPhone. There's one thing I can't get working on it, and that's the LOAD procedure. I've heard reports that you can't load dynamic libraries on the iPhone, but I can't find any documentation about it. Besides, LOAD doesn't work to load in raw scheme code either.
When my application attempts to use LOAD in an app running on the iPhone simulator, it simply crashes without any messages (both when the file is compiled and not). I'm not sure how to debug this, and I was wondering two things: do you use LOAD on the iphone? is there anything in LOAD which I should look at when running Gambit on a different platform than usual?
I think loading dynamic libraries should work in the simulator. And EVAL definitely works, so loading in raw source should work too. I just looked around the Gambit source and everything around these two mechanisms seems fine.
- James
Afficher les réponses par date
That's pretty cool! Do you use the SDK or did you have to resort to jail breaking? I can see how you can embed Gambit in an "oficial" iPhone app.
--Maarten
James Long wrote:
Hey, folks.
I'm using Gambit on the iPhone. There's one thing I can't get working on it, and that's the LOAD procedure. I've heard reports that you can't load dynamic libraries on the iPhone, but I can't find any documentation about it. Besides, LOAD doesn't work to load in raw scheme code either.
When my application attempts to use LOAD in an app running on the iPhone simulator, it simply crashes without any messages (both when the file is compiled and not). I'm not sure how to debug this, and I was wondering two things: do you use LOAD on the iphone? is there anything in LOAD which I should look at when running Gambit on a different platform than usual?
I think loading dynamic libraries should work in the simulator. And EVAL definitely works, so loading in raw source should work too. I just looked around the Gambit source and everything around these two mechanisms seems fine.
- James
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
It's a completely valid iPhone app ready to be submitted to the app store. I may have to compile gambit without EVAL to comply to the user agreement, or something like that though.
But, ignore this email thread, since I got it working! I was accidentally loading the wrong object which failed to load for various reasons. LOAD does work on the iphone, at least in the simulator. Now I can compile the app framework just once, install it, and freely develop separate scheme modules without having to recompile/reinstall/etc.! I really like Gambit's loading mechanism. Thanks for such a great system Marc!
If anyone is interested in using Gambit on the iPhone, I'm thinking of writing a blog post about my experiences. If you want, I can send a message to this list when I do so.
- James
On Fri, Jun 5, 2009 at 2:18 PM, Maarten Koopmans maarten@vrijheid.net wrote:
That's pretty cool! Do you use the SDK or did you have to resort to jail breaking? I can see how you can embed Gambit in an "oficial" iPhone app.
--Maarten
James Long wrote:
Hey, folks.
I'm using Gambit on the iPhone. There's one thing I can't get working on it, and that's the LOAD procedure. I've heard reports that you can't load dynamic libraries on the iPhone, but I can't find any documentation about it. Besides, LOAD doesn't work to load in raw scheme code either.
When my application attempts to use LOAD in an app running on the iPhone simulator, it simply crashes without any messages (both when the file is compiled and not). I'm not sure how to debug this, and I was wondering two things: do you use LOAD on the iphone? is there anything in LOAD which I should look at when running Gambit on a different platform than usual?
I think loading dynamic libraries should work in the simulator. And EVAL definitely works, so loading in raw source should work too. I just looked around the Gambit source and everything around these two mechanisms seems fine.
- James
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Hallo,
On 6/5/09, James Long longster@gmail.com wrote:
If anyone is interested in using Gambit on the iPhone, I'm thinking of writing a blog post about my experiences. If you want, I can send a message to this list when I do so.
Please do, I'd be most interested in reading about it.
Yes, please do!
--Maarten
-----Original Message----- From: Alex Queiroz [mailto:asandroq@gmail.com] Sent: vrijdag 5 juni 2009 21:22 To: James Long Cc: Maarten Koopmans; Gambit List Subject: Re: [gambit-list] gambit, iphone, and LOAD
Hallo,
On 6/5/09, James Long longster@gmail.com wrote:
If anyone is interested in using Gambit on the iPhone, I'm thinking of writing a blog post about my experiences. If you want, I can send a message to this list when I do so.
Please do, I'd be most interested in reading about it.
It's an interesting topic, not only coz' it's iphone, but just in general seeing how to embed gambit in another system. I'm looking forward to reading your post.
On Fri, Jun 5, 2009 at 2:20 PM, Darren Bakerdarren@wildfire.com.au wrote:
James Long wrote:
If anyone is interested in using Gambit on the iPhone, I'm thinking of writing a blog post about my experiences. If you want, I can send a message to this list when I do so.
- James
James - another yes from me, that would be great, thank you! Been bracing myself for some pain, it'd be excellent to have a crib sheet.
- Darren
On Fri, Jun 5, 2009 at 2:18 PM, Maarten Koopmans maarten@vrijheid.net wrote:
That's pretty cool! Do you use the SDK or did you have to resort to jail breaking? I can see how you can embed Gambit in an "oficial" iPhone app.
--Maarten
James Long wrote:
Hey, folks.
I'm using Gambit on the iPhone. There's one thing I can't get working on it, and that's the LOAD procedure. I've heard reports that you can't load dynamic libraries on the iPhone, but I can't find any documentation about it. Besides, LOAD doesn't work to load in raw scheme code either.
When my application attempts to use LOAD in an app running on the iPhone simulator, it simply crashes without any messages (both when the file is compiled and not). I'm not sure how to debug this, and I was wondering two things: do you use LOAD on the iphone? is there anything in LOAD which I should look at when running Gambit on a different platform than usual?
I think loading dynamic libraries should work in the simulator. And EVAL definitely works, so loading in raw source should work too. I just looked around the Gambit source and everything around these two mechanisms seems fine.
- James
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list