r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Host Kit]

BrianH
12-Oct-2010
[117]
You can't reproduce Core from the host kit? I understand that you 
can't make official binaries, but there shouldn't be anything stopping 
you from creating a single program that does everything Core does 
from the host kit once the host kit is out of alpha.
Andreas
12-Oct-2010
[118]
Well, there is. You can't statically link dynamic libraries.
BrianH
12-Oct-2010
[119]
The restrictions you are talking about are temporary. Just because 
static libraries aren't provided in this experimental release doesn't 
mean they won't be in the final release.
Andreas
12-Oct-2010
[120]
I'm just stating the facts.
ssolie
12-Oct-2010
[121]
I imagine one idea would be to provide a single executable which 
contains r3 core and the app to keep things as simple as possible 
for some devices.
BrianH
12-Oct-2010
[122]
The main reason you are unlikely to get static libraries of a107 
is because we are busy working on a108, not because of any other 
restriction.
Andreas
12-Oct-2010
[123]
Is that an official statement?
BrianH
12-Oct-2010
[124]
I can't make that, but haven't heard anything that implies otherwise.
ssolie
12-Oct-2010
[125]
This all seems very cutting edge so I expect anything could change 
(i.e. alpha).
Andreas
12-Oct-2010
[126]
It is cutting edge indeed :)
Maxim
12-Oct-2010
[127]
so much it bleeds  ;-)
ssolie
12-Oct-2010
[128]
Hmm... REBREQ looks very familiar.. very much like the Amiga's standard 
IO request :-)
Maxim
12-Oct-2010
[129]
hehe... that's not where similarities end ....  ;-)
ssolie
12-Oct-2010
[130]
Besides the r3 core, what other bits would RT be providing for these 
kits?  include files?
Andreas
12-Oct-2010
[131]
What you see in the .tar.gz is the complete hostkit. Sources, headers, 
and the proprietary libr3 binary blob.
ssolie
12-Oct-2010
[132x2]
so the idea would be to create sub-dirs with whatever platform-specific 
stuff needs to be there... simple
oh, and a makefile I expect (or whatever build system)
Andreas
12-Oct-2010
[134]
Yes. But the makefile provided with the Linux hostkit (in make-gcc/) 
should get you pretty far.
ssolie
12-Oct-2010
[135]
I think gmake is a good common denominator these days for build systems
Andreas
12-Oct-2010
[136]
Agreed. The current makefiles are written for a much lower common 
denominator, though.
ssolie
12-Oct-2010
[137]
lower than gnu make?
Andreas
12-Oct-2010
[138]
Yeah.
ssolie
12-Oct-2010
[139]
that takes me back :)
Andreas
12-Oct-2010
[140x2]
Think HP-UX make from 1992 or something :)
_That_ low :)
ssolie
12-Oct-2010
[142]
do I have to?
Andreas
12-Oct-2010
[143]
Hopefully not.
ssolie
12-Oct-2010
[144x2]
hehe
I used hpux in the good old days... no thanks :)
Kaj
12-Oct-2010
[146]
Aargh! http://www.rebol.com/r3/downloads/r3-host-kit-a107-42.tar.gz
defies automated downloading
ssolie
12-Oct-2010
[147]
ttfn.. this looks like it will be a fun little project.. just need 
to get the blessed libr3.so from carl
Kaj
12-Oct-2010
[148]
Got it built on Syllable Server
Pekr
13-Oct-2010
[149]
I am not sure it is realistic to get gfx going under the Amiga for 
the Amiwest. OTOH IIRC AmigaOS has ported AGG already, so maybe we 
will be lucky :-)
Kaj
13-Oct-2010
[150x2]
Got it to run on Syllable Server, but it now has the irritating property 
of requiring the interpreter library to be in your current working 
directory that you start REBOL from. So I patched that away
It segfaults on loading R3 Chat. I don't think that was the case 
with the previous host kit I had (alpha 98, I think). It also works 
with the RT A107 binary
Andreas
13-Oct-2010
[152x2]
R3 Chat works fine for me, with Linux binaries built from the A107 
hostkit.
And I agree, the current linking is quite annoying. Here's a patch 
how I fixed it: https://gist.github.com/d1c120789a4b7acb635d
Pekr
13-Oct-2010
[154]
Andreas - any enhancements could go into default host-kit distro,no? 
:-)
Andreas
13-Oct-2010
[155]
Yes, just didn't yet get around to opening a CC issue for it.
Cyphre
13-Oct-2010
[156]
Pekr, I bet the AGG part will be easy to compile on AmigaOS. I compiled 
AGG on quite few platforms and it went smooth. IMO More work needs 
to be done on the event loop and window management in this case.
Kaj
13-Oct-2010
[157]
Yep, the R3 specific interface is fairly elaborate
ssolie
13-Oct-2010
[158x2]
Considering I was the one who ported AGG to Amiga I don't think it 
will be a big issue... :-)
The tricky part will be the event handling and such which I have 
yet to figure out.
Maxim
13-Oct-2010
[160]
well, Amiga's event model is so clean , and actually the R3 event 
stack... well, its closer to it than the R2 was.
Kaj
13-Oct-2010
[161]
I got the A107 host kit working on Syllable Desktop
Maxim
13-Oct-2010
[162]
congrats!
Kaj
13-Oct-2010
[163]
Thanks. This is still using the same trick as the first port almost 
a year ago, by using the Linux binary of the R3 interpreter library
ssolie
13-Oct-2010
[164]
How did you test it Kaj? (I'm curious about testing these things)
Kaj
13-Oct-2010
[165x2]
It's become a bit more complicated because R3 is now using the dynamic 
loader, but the Linux library still works on Syllable Desktop
R3 Chat still doesn't work, though, but for a different reason than 
on Syllable Server