08-24-2012, 02:35 PM | #1 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
does anyone develop/compile for kindle on a mac?
is there suitable software available? the two toolchains i've seen mentioned didn't seem to have mac versions, unless i missed something?
cheers. edit: damn my memory, i just found a link which i'd actually seen before, looks promising http://rohitdureja.wordpress.com/201...mac-os-x-10-7/ Last edited by hippy dave; 08-24-2012 at 02:43 PM. |
08-24-2012, 03:40 PM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Each of the complete tool-chains on the DIY-KeK server have the source archives on the same server, same naming convention. Read appendix B of the manual. |
|
Advert | |
|
08-24-2012, 04:19 PM | #3 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
thanks.
|
08-24-2012, 04:25 PM | #4 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And if you want to try the crosstool-ng 'DIY' way, be aware of this: http://crosstool-ng.org/#macos_x
(I have no idea if it's still the case on 10.7/10.8, but given the bitch of a time I had to port the simplest things for the KindleTool build scripts, it wouldn't surprise me.... ^^). |
08-24-2012, 04:41 PM | #5 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
thanks guys. this is all a bit beyond me, so following a step-by-step guide is probably the way forward
e: for the record, i'm still on 10.6.8, thanks to my creaky old 32-bit macbook. |
Advert | |
|
08-24-2012, 04:46 PM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The CS/MG tool-chains are good, old fashioned, make files. But the "fix" for internationalism might apply to either, so might --no-nls I seem to recall that MacOSx does not export LC_ALL=C that would probably do no harm also. - - - - Just pick a path forward, keep us posted, people here will help when they can. |
|
08-26-2012, 12:40 AM | #7 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2012
Device: k3-wifi
|
i struggled last week to build a tool chain for kindle on osx, and at last succeed with a prebuilt glibc binary i built on linux.
basicly, all you need is get a working toolchain on linux (you can build with ct-ng) then copy them on osx, build final binutils & gcc on it, (see build.log that ct-ng generated to find how to configure & make them) |
08-26-2012, 11:07 AM | #8 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
i actually managed to get the toolchain built using the guide i linked in the first post, followed it almost exactly except used eclipse indigo instead of helios because the relevant plugin had been updated.
so the toolchain is built, and apparently working from within eclipse, but i haven't managed to get something to compile yet. have pointed it to the relevant includes but build still fails with a lot of undeclared somethingorother errors. will post more details later if i can't figure it out, see if anyone has any ideas. |
08-26-2012, 03:02 PM | #9 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
is there somewhere i can find a list of compiler settings for building kindle code, so i can try and make sure eclipse's millions of pages of project properties are set up correctly? thanks.
|
08-26-2012, 03:03 PM | #10 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
|
08-26-2012, 03:37 PM | #11 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
thanks, i found this much in a quick scan of that thread:
i was really hoping that i'd just be able to set a few settings, and be able to compile other people's existing code and tweak bits of it, without having to do lots of research and fiddling and having to actually know what i'm doing. that's starting to look less likely now... that diy kek thread is pretty long and involved |
08-26-2012, 03:42 PM | #12 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Look for posts by NiLuJe, plus/minus a few posts.
Either the main DIY-KeK thread or one of twobob's build threads (probably the one about building kernel modules). When you find something useful there, go ahead and index in the Tool_Prefix index page. |
09-08-2012, 03:14 PM | #13 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
came back to this after a bit of a holiday, i still have the toolchain built, but i just tried to build/install scratchbox2 and it wasn't having any of it
Spoiler:
urgh. has anyone done this on a mac? |
09-08-2012, 04:09 PM | #14 |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
Surely it would be easier to just use a VM with usb passthrough? (pretty sure VBox has that for OSX)
|
09-08-2012, 04:20 PM | #15 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
you mean run scratchbox on linux in a vm? i guess that could work, but it would mean building the damn toolchain again, on top of setting up a new os, so i'm not sure it would count as easier
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to compile for Kindle DX? | cdisou | Kindle Developer's Corner | 5 | 10-22-2011 07:30 AM |
Vala for DR: new method to develop DR applications | Iñigo | iRex | 0 | 04-02-2011 09:48 AM |
Should ideas develop or do you push at them? | bthrowsnaill | Writers' Corner | 14 | 10-18-2010 06:41 PM |
Develop for JetBook | rml | Ectaco jetBook | 0 | 07-26-2010 01:06 PM |
iLiad Does anybody planning to develop a dictionary software? | wagnerian | iRex Developer's Corner | 14 | 11-28-2007 04:35 PM |