World: r3wp
[!REBOL3 Host Kit]
older newer | first last |
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 [410x9] | 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 | |
just use TO_AMIGA or whatever the define is called on amiga :) | |
or heck, don't use any ifdef at all :) | |
ssolie 26-Oct-2010 [419] | thanks... looking into it |
Andreas 26-Oct-2010 [420] | http://bolka.at/2010/rebol3/a102/hostkit.htmlhere's more documentation on the work I did for A102, along with the full patchset |
Maxim 26-Oct-2010 [421x3] | funny, in order to delete files in the makefile, I have to use r2.... there is no delete application in windows! |
as in delete.exe or del.exe | |
its just a command-prompt function. | |
ssolie 26-Oct-2010 [424] | cool.. it works.. banner window |
Andreas 26-Oct-2010 [425] | yeah! :) |
Maxim 26-Oct-2010 [426] | congrats! |
ssolie 26-Oct-2010 [427] | I'm using the posix stuff for now |
Andreas 26-Oct-2010 [428x3] | Should be fine. |
Except for the dynamic loader stuff, maybe. | |
Do you have dlopen on Amiga? | |
ssolie 26-Oct-2010 [431x3] | yes |
libdl.so is implemented as well as a more native amiga elf.library | |
libdl.so is a thin wrapper for elf.library | |
Andreas 26-Oct-2010 [434] | Great, then extensions should probably work as well :) |
ssolie 26-Oct-2010 [435] | that is the plan ;) |
older newer | first last |