World: r3wp
[!REBOL3 Host Kit]
older newer | first last |
Andreas 26-Oct-2010 [367] | Because there is none. |
Maxim 26-Oct-2010 [368] | did you get a host kit for the amiga from carl? |
ssolie 26-Oct-2010 [369] | No I did not |
Andreas 26-Oct-2010 [370] | (And if you diff A107 Linux against the Win32 version, you'll see the base for my "Lazyness" comment.) |
ssolie 26-Oct-2010 [371x3] | He pointed me at the windoze one ;) |
A109 | |
I take it a couple of vectors need to be removed then.. which ones? | |
Andreas 26-Oct-2010 [374] | Added, not removed :) |
Maxim 26-Oct-2010 [375] | hum... you should have buggered him about trying to compile at amiwest ;-) |
Andreas 26-Oct-2010 [376] | Wait, I have a patch for that somewhere. |
ssolie 26-Oct-2010 [377x4] | I only managed to squeeze a few minutes out of Carl at the show |
busy time | |
we finished off the libr3.so last night in an altme session.. this is very fresh | |
Maxim: is it worth trying to regenerate the host-lib.h header? | |
Andreas 26-Oct-2010 [381x2] | No, because you don't have the script to generate it :) |
Let's just do a quick sanity check before wasting more time on this. Change the #define HOST_LIB_SIZE in host-lib.h from 31 to 33 and see if you still get the "wrong size" error. | |
Maxim 26-Oct-2010 [383] | then just see if the functions actually match to those.. in the host-kit ex, does calling RL_Get_Value actually try to get a value from a block or is |
ssolie 26-Oct-2010 [384] | Andreas: hmm... you are correct.. this is really tricky stuff :) |
Maxim 26-Oct-2010 [385] | is=not |
Andreas 26-Oct-2010 [386x2] | ssolie, error gone with 33? |
Maxim, this is the hostlib, i.e. the OS_* functions, not the extension stuff. | |
ssolie 26-Oct-2010 [388] | sorry, phone call... |
Maxim 26-Oct-2010 [389] | yes very tricky. oddly enough once you actually get the stuff to compile, doing massive changes to the host files themselves is rather easy. |
ssolie 26-Oct-2010 [390] | wrong version/checksum now (with 33) |
Andreas 26-Oct-2010 [391] | much better! :) |
Maxim 26-Oct-2010 [392] | ahh yes.. sory. |
Andreas 26-Oct-2010 [393x2] | problem is, we don't know the checksum for amiga libr3 :) |
hmm, let's try the linux checksum as well :) | |
Maxim 26-Oct-2010 [395] | hehe |
Andreas 26-Oct-2010 [396] | change the HOST_LIB_SUM define in host-lib.h to 46010 |
ssolie 26-Oct-2010 [397] | I'll have to keep guessing until I hit it :) |
Maxim 26-Oct-2010 [398] | batch file with loop and make ;-) |
ssolie 26-Oct-2010 [399] | neat.. rebol system error now.. the checksum seemed to pass |
Andreas 26-Oct-2010 [400x2] | great :) |
the system error now is most likely due to the wrong hostlib vector | |
ssolie 26-Oct-2010 [402] | now I really wonder what the checksum represents |
Andreas 26-Oct-2010 [403x2] | nothing. it's a value kept in sync between libr3 and the sources |
a simple sanity check | |
Maxim 26-Oct-2010 [405] | btw, andreas, I've almost finished re-working the CGR make file so that it organises the files just like the VC setup (and its already using the distro r2.exe) |
Andreas 26-Oct-2010 [406] | maxim, great :) |
Maxim 26-Oct-2010 [407] | I got bitten by not using $() it was replacing $CGR as gccGR ' :-/ |
ssolie 26-Oct-2010 [408] | Andreas, can I diff against 107 to find out which vectors I'm missing and where to put them? |
Maxim 26-Oct-2010 [409] | I'm such a make noob hehehe |
Andreas 26-Oct-2010 [410x7] | yes, but i did that work for you already :) |
you are missing os_to_local_path and os_to_rebol_path | |
https://gist.github.com/e257f772c80381cc40ed | |
i did the very same stuff you are trying to do now back for A102 :) | |
that was the patch I used back then to fix it | |
ignore the SUM/SIZE stuff at the top, which obviously has changed | |
but the two missing hostlib functions still are the same | |
older newer | first last |