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

World: r3wp

[!REBOL3 Host Kit]

Andreas
12-Oct-2010
[98]
The primary reason there's no OSX hostkit is that Carl has not yet 
managed to generate a libr3 to his satisfaction :)
Maxim
12-Oct-2010
[99]
he says he can't generate a .so on OSX that doesn't export all symbols
ssolie
12-Oct-2010
[100]
strange.. I would think you just disable the option in the linker... 
--export-all-symbols or something?
Andreas
12-Oct-2010
[101]
Yeah, which is precisely what an .a does as well ("exporting all 
symbols", that is) :)
ssolie
12-Oct-2010
[102]
gcc doesn't export all symbols by default but maybe apple made some 
changes
Andreas
12-Oct-2010
[103x2]
Yeah, I sent Carl a complete example of how to achieve what he wants 
on OSX. But up until today he didn't get around to look into it.
What toolchain is used on Amiga?
ssolie
12-Oct-2010
[105]
gcc
Andreas
12-Oct-2010
[106]
+ binutils?
ssolie
12-Oct-2010
[107]
yes
Andreas
12-Oct-2010
[108x2]
What binary format is used?
ELF?
ssolie
12-Oct-2010
[110]
yes, the good old elf
Andreas
12-Oct-2010
[111]
Cool.
ssolie
12-Oct-2010
[112]
should be pretty easy I figure
Andreas
12-Oct-2010
[113x2]
Should be easy to get going then, yes.
What version of GCC do you have available?
ssolie
12-Oct-2010
[115]
from memory.. 4.0.3 is the current baseline
Maxim
12-Oct-2010
[116]
I really just think that maintaining several repos is currently to 
much work since it changes sooo oftern.  once the hostkit stabilizes 
a bit (within two or three releases is my guess) he should get around 
to concentrating on getting other distros their .so  


The amiga port was probably a good exercise in making the core lib 
even more cpu/platform agnostic.
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