World: r3wp
[!REBOL3 Extensions] REBOL 3 Extensions discussions
older newer | first last |
AdrianS 12-Jul-2010 [815] | so this host kit is only buildable under mingw, not VS? |
Carl 12-Jul-2010 [816] | No, I mean someone needs to digest the issues and fixes, and submit them back. |
Andreas 12-Jul-2010 [817] | Heck, even if no one digests the issues, nothing is lost. |
Carl 12-Jul-2010 [818] | It's not secrecy... |
Andreas 12-Jul-2010 [819] | If you don't post the URL, you'll simply not get the issues reported. |
Carl 12-Jul-2010 [820] | The host-kit can be built by any reasonable C and C++ compiler/linker. |
AdrianS 12-Jul-2010 [821] | k - I was able to build the a96 one - will give this one a go too |
Carl 12-Jul-2010 [822x2] | I'm fine with posting it. But, I don't have the bandwidth for the backchannel, so we need someone else to handle that. |
www.rebol.com/r3/downloads/host-kit-a100.zip | |
Andreas 12-Jul-2010 [824x2] | Thanks. |
Any timeline for a Linux libr3.so? | |
AdrianS 12-Jul-2010 [826] | also appreciate the link, Carl |
Carl 12-Jul-2010 [827] | Pretty easy to do, but let's take this one step first. |
Andreas 12-Jul-2010 [828] | Do you have an integrated cross-plattform build for the host-kit? |
Carl 12-Jul-2010 [829] | Graham: I got the message on protocols and it's on the list. |
Andreas 12-Jul-2010 [830] | If not, someone could write one, if you release a Linux hostkit as well. If you do, why not release a single cross-platform package? |
Carl 12-Jul-2010 [831x3] | Andreas, no, but only because not yet tried that. Only minor edits to the makefile required to build on Linux. If you get that to work, then can get you the r3lib to try it. Let me know. |
(That's because we don't build view yet for Linux.) | |
(Only Core) | |
Andreas 12-Jul-2010 [834] | Yeah, I'd really appreciate if you could send libr3.so to me. I already wrote an integrated build for the A96 hostkit. |
Carl 12-Jul-2010 [835] | What exactly do you mean "integrated build" -- you mean makefile? |
Andreas 12-Jul-2010 [836] | A single source base which automatically builds correctly for the platform the build tool is invoked on. |
Carl 12-Jul-2010 [837] | What have you tried it on? |
Andreas 12-Jul-2010 [838x2] | A96 hostkit on Linux and Win32. |
Yes, it basically boils down to an adapted Makefile along with an auto-generated header file (or defines) for platform-specific config. | |
Carl 12-Jul-2010 [840x4] | A few things on that... |
The makefile is auto-generated and changes with each release. Also, there are big variations in make between target platforms (some are really horrible.) So, the makefile is kept very "dumb" to allow those builds. | |
So, we will want to get the makefile maker to do the right thing. | |
Second, the config controls are already part of R3, and are triggered by the reb-to.h file. | |
Andreas 12-Jul-2010 [844] | I used CMake, which is a cross-plattform tool that automatically generates "project" files for a variety of targets (such as GNU Make, Eclipse project files, Visual Studio project files). It works great on Linux, Win32, OSX and is used by several high-profile projects. But I'm well aware that third-party tools are most likely no-go for REBOL, so I'm fine with all that, and can easily look into it, as long as there' s at least a Linux hostkit available. |
Carl 12-Jul-2010 [845] | So, what header files do you find a need to generate above? |
AdrianS 12-Jul-2010 [846] | I would recommend cmake as well, seems to work well |
Andreas 12-Jul-2010 [847] | I can only talk about A96. |
Carl 12-Jul-2010 [848] | What is the input to cmake? |
Graham 12-Jul-2010 [849] | http://203.97.234.193:8080/secure/project/ViewProject.jspa?pid=10020 ... I've added a hostkit tracker to my Jira instance. |
Carl 12-Jul-2010 [850] | BTW, no, I'm fine with supporting as many target formats as possible! |
Andreas 12-Jul-2010 [851] | CMake does basically the same thing your "makefile maker" tries do to. |
Carl 12-Jul-2010 [852] | So far I've built it on about 5 different targets... but there are many more. For instance, we've talked about ARM, but the ARM tools are really crude (at least what I've got here.) |
Andreas 12-Jul-2010 [853x2] | The most common ARM tooling is just GCC. |
CMake Input is a "CMakeLists.txt" file, which is written in "just another Makefile language". | |
Carl 12-Jul-2010 [855] | Yes, but the ARM make tool looked like 1982 the last time I tried it. |
Andreas 12-Jul-2010 [856] | No idea what you tried, but you'd typically just use GNU make on ARM as well. |
Carl 12-Jul-2010 [857] | Have you tried using the makefile on BSD or OSX? |
Andreas 12-Jul-2010 [858] | No, as there is no hostkit release for either of those. |
Carl 12-Jul-2010 [859] | Basically, same as Linux right now. |
Andreas 12-Jul-2010 [860x2] | Can't sensibly try without e.g. a OSX dylib. |
But I prodded you for weeks to build one :) | |
Carl 12-Jul-2010 [862x2] | Also, problematic builds are Sun and HP Unix. But, anyway, if people are willing to add them, it's ok with me. |
Right... I remember that now. We'll have to give it another go. | |
Andreas 12-Jul-2010 [864] | I guess sticking with the big three (+ BSD, maybe) will be sufficient for now. |
older newer | first last |