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

World: r3wp

[!REBOL3 Host Kit]

Pekr
29-Nov-2010
[994]
If you want just to try A110, go to REBOL3 GUI group here, there's 
a link to download a binary and dll .... we will have to wait for 
Carl to resurface and correct the release, or even better - to merge 
the changes to official location ...
Cyphre
29-Nov-2010
[995]
The "carls-R3A110-a660e4a" release  works for me. You need to change 
in reb-to.h define# TO_WIN32 to get it work on Windows as Pekr said.
Pekr
29-Nov-2010
[996]
that did not help here ...
Cyphre
29-Nov-2010
[997]
what error are you getting?
Pekr
29-Nov-2010
[998x2]
wait a bit ... I'll try to redownload Carl's HostKit
first - I am not able to get it downloaded via git client (Tortoise, 
nor normal), I get following error:

git.exe fetch -v --progress  "A110-Carl" 


fatal: http://github.com/carls/R3A110/info/refsnot found: did you 
run git update-server-info on the server?
Henrik
29-Nov-2010
[1000]
you should probably clone it instead
Cyphre
29-Nov-2010
[1001]
Pekr, I tried it without the git client using this link: http://github.com/carls/R3A110/zipball/master
Pekr
29-Nov-2010
[1002]
Downloaded .zip file. Tried it now - it works. It just does not seem 
to copy dll to the place of the exe, or something like that:

Linking executable: bin\Release\r3.exe
Output size is 317,50 KB
Running project post-build steps
post-build-win.cmd bin\Release\

Execution of 'post-build-win.cmd bin\Release\' in 'C:\!rebol\!R3\r3-host-kit-A110\make-cbp' 
failed.
Nothing to be done.
Cyphre
29-Nov-2010
[1003]
yes, the .cmd file is missing from some reason
Pekr
29-Nov-2010
[1004]
I think that when Carl is back, we should merge. CC contains already 
some A111 fixes. What was the reason Carl posted the source tree 
in the different than usual place?
Kaj
29-Nov-2010
[1005]
It's a test location
Andreas
29-Nov-2010
[1006x3]
First, all make-* build methods except make-gcc are community contributed 
and not officially (i.e. by Carl) maintained. Therefore they may 
get out of sync, until someone in the community steps up and fixes 
them.
Second, the temporary R3A110 repository is even more unsupported 
than usual. Unless you want to work on distribution and building 
of the hostkit itself, it's probably better to stay clear of this 
and  wait until things settle down a bit.
Third, Pekr, you are _still_ using the wrong URL for your remote. 
Either make a fresh clone with

  git clone git://github.com/carls/R3A110.git


or fix your remote manually (Probably via `git remote set-url origin 
git://github.com/carls/R3A110.git`.)
Aloysius
4-Dec-2010
[1009]
anyone can help? Thx!
Pekr
4-Dec-2010
[1010]
Aloysius - I already described the help, and Cyphre kind of confirmed 
- I noticed, that this hostkit is some linux version. When you look-up 
netdb.h, it seems its inclusion belongs to non-Windows #ifdef. So 
please go to /src/include/reb-to.h directory/file and rewrite the 
definition to: #define TO_WIN32
Andreas
4-Dec-2010
[1011x2]
A quick note of success: just built an A110 hostkit on OSX Intel!
>> print system/version
2.100.110.2.5

Yay!
GrahamC
4-Dec-2010
[1013]
Is Carl still using his own personal repo?
Andreas
4-Dec-2010
[1014]
Haven't heard anything from Carl for weeks.
GrahamC
4-Dec-2010
[1015]
So, there's still no official github R3 repo?
Andreas
4-Dec-2010
[1016]
Nope, only the R3A110 test repo.
GrahamC
4-Dec-2010
[1017]
seems he's only available to blog comments .. all other channels 
are down
Pekr
4-Dec-2010
[1018]
yes, another blac-out, which even SCRUM did not prevent us from .... 
nearly a month now, without a single message ...
GrahamC
4-Dec-2010
[1019]
Hey, he talks for 2 hours at AmiWest ...!
Pekr
4-Dec-2010
[1020]
Selling his Amiga stuff? :-)
GrahamC
4-Dec-2010
[1021]
Yeah .. and in part 2, he says that people bug him everyday about 
Rebol ... lol
Pekr
10-Dec-2010
[1022x2]
I still miss something like general R3 porting group. Or will we 
set-up one group per target platform here, as we did with Android? 
I think this group is good for technical host-kit stuff, not general 
porting stuff ...
I found out, that Genesi is now sponsoring Linaro Linux, which tries 
to unify distros for ARM target. They gave away 50 smartbooks:

http://bbrv.blogspot.com/2010/12/momentum-is-building.html
http://www.genesi-usa.com/products/smartbook


From past month's discussion with BBRV, I believe they are able to 
send us a machine to port R3. And now again - this is not my port-it-for-me 
request, just a note, to eventually start a discussion, how do we 
get ourselves on ARMs. Carl could have one smartbook to port Core, 
and someone willing to play with the HostKit port could have another 
one. In the case someone is interested, I could try to negotiate 
it with BBRV.


Of course - ARM is a broad term. I never heard of Linaro. We have 
some TI hardware, and I know there are some embedded systems for 
such stuff, mostly commercial and expensive, and Linaro might be 
an answer here. Another HW option is BeagleBoard (cheaper, more OSes 
supported, even QNX, Android):

http://beagleboard.org/
Aloysius
10-Dec-2010
[1024]
Pekr- thanks for the help, sorry my internet was so slow I didn't 
notice all the other chats until it was loaded just now. Thanks again 
for the quick response!
Kaj
10-Dec-2010
[1025x2]
Porting R3 to an ARM netbook Linux would be a good start. The binary 
R3 library may then even work on Android
However, the Android cross-compiling SDK with its emulator is also 
a good development environment
Andreas
10-Dec-2010
[1027x3]
Agreed.
Porting to a mainstream Linux ARM will hardly be any work at all.
Mostly a matter of either setting up a system to do the compile, 
or setting up a cross-compilation toolchain.
Kaj
10-Dec-2010
[1030]
There will be some source changes, but probably not many
Andreas
10-Dec-2010
[1031x2]
Talking about the hostkit side.
I imagine that some areas in the library, such as floating point 
support, may encounter some minor difficulties.
Kaj
10-Dec-2010
[1033]
Me too. ARM is not a PC architecture, so there may be differences 
in the device drivers
Aloysius
11-Dec-2010
[1034]
Is there any plan to implement the serial port? I wanted to communicate 
with GSM modem via serial port for sending AT-commands. Thx.
Kaj
11-Dec-2010
[1035x2]
Haven't heard anything about it, but I'm sure eventually someone 
will be interested in it
For such things it would probably be best to wait for the implementation 
of the devices interface, though
Pekr
11-Dec-2010
[1037]
I was just recently thinking about serial port too, we will need 
it for kiosks. Maybe Carl could release R2 serial interface sources 
as a starter?
Oldes
12-Dec-2010
[1038]
Let's say that I have a C++ application and would like to use R3.dll 
in it. Is there someone who is able to create a minimal example which 
would init R3.dll, send a string to it and get, for example, reversed 
output? I'm sure that such and example would help with R3 adoption.
Kaj
12-Dec-2010
[1039]
I'll get to that when I start porting View to the Syllable GUI, but 
that project is still a bit in the future
Andreas
12-Dec-2010
[1040x3]
Starting with literally just the dll is probably a unnecessarily 
complicated way to approach this.
The easier approach is to reshape the hostkit to embed it in another 
application.
The current "main" (src/os/host-main.c) is a good demonstration of 
what is necessary to init libr3 and eval strings.
Kaj
12-Dec-2010
[1043]
Yes, of course