AltME: R3 Building and Porting


ah no... its a different func spec... ignore that... I'll just change the qsort name to uc_qsort   (uc for university of california)
don't change the original source if possible, please
well, this is part of porting code to different compilers and toolchains.  for example, the   static inline   hints are different in msvc  nothing I can do there.  I added an #ifdef  setup for that with comments explaining why.
I'm not playing inside the algorithm.  but if the name of the function causes errors in the compiler, I can't just wish it to go away.

I am trying to build R3 with MinGW on Win 7 without luck. Does anyone have already successfully done it?
I tried this:
but (apart from the fact that Rebol links are outdated) When doing make prep R3 crashes with error #1405.
If I use r3bazaar It can not find gcc, then if I copy MinGW/bin/gcc to MinGW/msys/bin the process stops with error: CreateProcess: not such file or directory AND THEN I GAVE UP !
"Does anyone have already successfully done it?" - I did it
(but I did not use HostileFork's instructions)
Could you please give me the instructions?
which R3 did you use as r3-make?
could you try again using an interpreter from
Idem for the interpreter found on
I did it, and at some point added a few notes, but they don't appear to be there any more.
with the console version it does not crash but gcc still gives error: CreateProcess: No such file or directory
I've had troubles too.   a few notes:
-the rebol scripts in the current community distro do not work properly with saphirion'ts latest build... something to do with the use of 'FUNCTION vs 'FUNC .   I've had to edit at least one script.
-the CreateProcess error is due to local dir handling which is pretty screwed up, if you launch the make from a windows prompt. either create a batch file which does a CD first or use the -C option in make to tell make to change directory internally before interpreting the make file.
if you haven't done so, you might also want to add the msys package and make sure you've got a folder in your PATH environment which points to a folder with a proper  make.exe  (not the mingw_make) function.
yes, something wrong with paths. If I use : make TOOLS=c:/minGW/bin/ it starts but complains about not finding a .dll so now how I can I tell it to search for it in that dir? or How can I make a folder in my PATH environment which points to a folder with a proper make.exe?
I surrender so I tried to copy ALL  lib*.dll in c:/minGW/bin to c:/minGW/bin/msys/1.0/bin and it worked !!
So to summerize it if you have Win7:
Follow hostilefork instructions but:
- download R3-*-console.exe from  and use it as r3-make.exe
- copy ALL lib*.dll from c:/minGW/bin to c:/minGW/bin/msys/1.0/bin
- as the last command use $ make TOOLS=c:/minGW/bin/
good luck! Tell me if you find a shorter/simpler way.

Max, are you up and running on MSVC?
not quite... running around on three projects... a lot of analysis on stone in the last few days.

Any QT + R3 integration going on?

Last message posted 90 weeks ago.