World: r4wp
[!R3 Building and Porting]
older | first |
Robert 25-Dec-2012 [64x2] | Has anyone tried to compile in 64bit mode and dived into the problematic areas already? |
I think the first thing to look at is the structu sizes. Either press it back to fit 32bit size, or expand it into 64bit space. Not sure what kind of side-effect this will have. | |
LiH 5-Jan-2013 [66] | Hi, I'm reading the REBOL3's source codes, and I don't know It's a typo or not: in this file https://github.com/rebol/r3/blob/master/src/include/reb-c.h at line 61, about defining the uint type, It seems #ifdef DEF_UINT was not correct. Maybe #ifndef DEF_UINT ? |
Cyphre 5-Jan-2013 [67] | LiH: to me it looks you are right, you can do "pull request" with the fix. |
VincentE 13-Jan-2013 [68] | As I'm updating my old scripts on rebol.org, I'm trying to understand the problems with compress/gzip & decompress/gzip , and found at least one issue in u-zlib.c . When compressing, as the checksum method is assumed to be adler32 for most of the code, stream->adler (the current checksum) is wrongly initialized to 1 in two places, giving an off-by-one checksum in the output and making it unusable for decompress/gzip. Still no clue for what yields the ** Script error: value out of range: none error and why calling compress "" seems to fix this problem sometimes.It seems that something isn't correctly resetted between calls. |
GrahamC 16-Jan-2013 [69] | https://github.com/hostilefork/r3-hf/wiki/Building-from-source-on-windows-with-mingw Now digit the following commands in MinGW console: => Now type ?? |
Florin 21-Jan-2013 [70] | Can rebol be built to include .r scripts for a portable rebol? |
Maxim 21-Jan-2013 [71] | not sure I understand your question ':-/ |
Arnold 21-Jan-2013 [72] | to distribute applications? |
Florin 21-Jan-2013 [73] | Bundle scripts along with the rebol executable, for distribution, as a single file. |
Maxim 21-Jan-2013 [74] | if you compile the host kit you have full control over this. Otherwise, Saphirion seem to have built an encap tool for R3. |
GrahamC 21-Jan-2013 [75x2] | Saphiron's encap tool was built before the sources were available |
If you do what Florin wants, how would you get your code to execute instead of landing on the console? | |
Maxim 21-Jan-2013 [77] | the console is just a loop in the main which gets a string and executes it. what you'd do is execute a string of utf8 text directly. |
Maxim 22-Jan-2013 [78x3] | I had the r3 hostkit running as a dll with full host support... in fact, I was able to execute R3 scripts from within R2 :-) |
obviously there was no sharing of info, only exchange of string data | |
so I'd use load/mold on the string from/to R3 ... | |
GrahamC 22-Jan-2013 [81] | Are you answering the question? |
Maxim 22-Jan-2013 [82] | I'm just saying that with the hostkit, you can execute or setup evaluating whatever you want however you want. |
Andreas 22-Jan-2013 [83x2] | florin: yes, it's possible to include embedded modules or embedded extensions with R3. but it's not documented how to do so, at the moment, so you'll have to dig through the sources yourself. |
for embedded modules, it could be as simple as dropping your module in src/mezz/, including its filename in src/mezz/boot-files.r and doing a full rebuild (including `prep`) after that. didn't try yet, though. | |
Florin 22-Jan-2013 [85] | thanks |
GrahamC 22-Jan-2013 [86] | Florin, I wrote this about adding your own scheme https://github.com/hostilefork/r3-hf/wiki/How-to-add-your-own-scheme |
Florin 22-Jan-2013 [87] | GrahamC: Wonderful, thanks. |
GrahamC 22-Jan-2013 [88x2] | That's what I did for my vanity builds for integrating the time and smtp schemes |
see the vanity group here | |
BrianH 4-Feb-2013 [90x2] | Has anyone tried building R3 on Windows with CodeBlocks? I want to run R3 in debug mode, to track down native bugs. |
I can also use VS2012 Pro, but it's less likely that someone has tried building on that. One can hope, of course. | |
AdrianS 4-Feb-2013 [92x5] | Just so happens that I have a CB project file for the official source layout, if you want it. There's also a little change to make-make.r that you'll need t make for which he's made a pull request. https://github.com/rebol/r3/pull/77 |
Sent you the file | |
btw, there's currently no difference between the release and debug targets - CB just builds the all target with whatever flags were there. We could change this to create distinct builds, obviously. | |
put the project file in the root of the project - sibling to the .git | |
for which he's made a pull request -> "for which Andreas has made a pull request" | |
BrianH 4-Feb-2013 [97:last] | Thanks. Andreas helped set me up with VS2012 builds. I'll get to CB later, I'm sure with the help of your project. |
older | first |