World: r4wp
[Ann-Reply] Reply to Announce group
older newer | first last |
Kaj 30-Mar-2013 [1698x2] | I think someone else also had this problem, but I'm getting this when building this source on Linux: |
undefined reference to `dtoa' | |
Ladislav 30-Mar-2013 [1700x2] | I guess that you did not do make make and make prep? |
(that is necessary to include the new source code file) | |
Kaj 30-Mar-2013 [1702] | No, it's not needed for Carl's source |
Ladislav 30-Mar-2013 [1703] | it is needed for this |
Kaj 30-Mar-2013 [1704] | Thanks, I'll try |
Andreas 30-Mar-2013 [1705] | Hmm, we need to update the default makefile as well. Thanks for reporting, Kaj. |
Ladislav 30-Mar-2013 [1706] | (I solved the conflict with Andreas' change by just taking his makefile) |
Kaj 30-Mar-2013 [1707] | I'll hold on then |
Andreas 30-Mar-2013 [1708] | No need to hold, make make will also resolve this. |
Ladislav 30-Mar-2013 [1709] | Kaj, you should not hold, just do what I suggested |
Kaj 30-Mar-2013 [1710] | Yeah, but I don't want to complicate my build script further. I already have to track many branches of REBOL |
Ladislav 30-Mar-2013 [1711] | make make and make prep are already strongly suggested anyway |
Kaj 30-Mar-2013 [1712] | I try to keep my build procedures as minumal as possible |
Ladislav 30-Mar-2013 [1713] | then I have to wash my hands... |
Kaj 30-Mar-2013 [1714] | Pardon? |
Ladislav 30-Mar-2013 [1715x2] | a part of the Easter story... |
(no need to understand) | |
Kaj 30-Mar-2013 [1717] | I understand, but I was hoping to update R3 with the minimum fuzz |
Andreas 30-Mar-2013 [1718] | Pushed an updated makefile. |
Kaj 30-Mar-2013 [1719] | If Andreas updates the makefile in one of the next commits, my build recipe just downloads that. Ah, thanks |
Andreas 30-Mar-2013 [1720] | However, the reliable way to do a full & clean build is `make make` followed by `make clean prep r3`. |
Kaj 30-Mar-2013 [1721x2] | All fine now. I've switched the Syllable build system to the community source: |
http://syllable.cvs.sourceforge.net/viewvc/syllable/syllable/system/apps/utils/Builder/packages/REBOL-Core--current/ | |
Andreas 30-Mar-2013 [1723] | Cool. |
Ladislav 30-Mar-2013 [1724] | Kaj, what is the system/version of your build? |
Kaj 30-Mar-2013 [1725] | 2.101.0.4.4 just like Carl's |
Ladislav 30-Mar-2013 [1726] | Hmm, why don't you "force us" to define a new (Syllable) platform? |
Kaj 30-Mar-2013 [1727] | I'm running on Syllable Server now, so the Linux version is correct |
Ladislav 30-Mar-2013 [1728] | Is your build identical with the 0.4.4? |
Kaj 30-Mar-2013 [1729x2] | And because it's not needed. The Linux-configured source - and even the binary Linux library - work fine on Syllable Desktop |
Do you mean a Syllable Desktop build? | |
Ladislav 30-Mar-2013 [1731x2] | Whichever you are using. |
, i.e. if you really get identical builds when getting identical system/version | |
Kaj 30-Mar-2013 [1733] | What I'm doing now is just a Linux build. A build on Syllable Desktop yields a different host executable: that is not compatible. The library would also be internatlly different when compiled on Syllable Desktop, but Desktop can still load a library compiled on Linux |
Ladislav 30-Mar-2013 [1734x2] | I am especially curious whether any of your 0.4.4 is really what I get when building r3 on Linux? |
(which is what is intended to be the true 0.4.4) | |
Kaj 30-Mar-2013 [1736] | Builds are not byte for byte compatible across Linux platforms, because they depend on compilers, headers and startup fragments from the compiler and possibly the assembler |
Ladislav 30-Mar-2013 [1737] | I supposed that was why there were other platforms for Linux than just 0.4.4? |
Kaj 30-Mar-2013 [1738] | Those are for different versions of the GNU GLibC C library. In practice, it's impossible to compile binaries with the GNU toolchain that are compatible across all C libraries |
Ladislav 30-Mar-2013 [1739x2] | Do you really want Syllable to be ignored as a platform? |
I suppose it may have some unwanted side effects. | |
Andreas 30-Mar-2013 [1741] | AFAIU, 0.4.x for Syllable Server sounds appropriate (it seems to be "just" a Linux distribution). |
Kaj 30-Mar-2013 [1742x2] | I've tested it quite well. We've been running R3 Linux binaries for years on Syllable Desktop. Having the source it's properly built on Syllable, but it hasn't fixed any problems |
It's fine if the Syllable Desktop configuration becomes explicit, but I currently don't have a reason to spend time on it | |
Ladislav 30-Mar-2013 [1744] | Yes, but there already are some Rebol scripts examining system/version to "know how to call system libraries" or some such. I guess it may be a good reason to define a platform? |
Kaj 30-Mar-2013 [1745x2] | Yes, that would be a good reason. In my patches to port Python, for example, I solve it by looking if the /system/index/ directory exists, which would identify not only Syllable Desktop, but also Syllable Server |
As long as programs use the Linux configuration as default in a decision, it almost always also works on Syllable Desktop | |
Ladislav 30-Mar-2013 [1747] | well, then it may be just a matter of preference (if you want to make Syllable "visible" at least for Rebol) |
older newer | first last |