AROS World Exec
Development => Development (General) => Topic started by: BSzili on November 05, 2018, 05:08:04 AM
-
Is there a way to build a C++11 cross-compiler for the current ABI_V0 branch? I tried to make new cross-compilers a few months ago, but it only built GCC 4.6.4, which is too old unfortunately. Are the newer compilers only available for ABI_V1, or I can use some configure switch to get them on ABI_V0 as well? Thanks!
-
building newer aros cross toolchain for abi v1 would require for instance --with-binutils-version=2.25 --with-gcc-version=6.3.0 flags.
you might ask that on dev ml too, looks like it is up again. or join us on slack. nick has probably most insights..
-
Nice, I didn't know about these switches. It looks like for ABIv0 there's 5.3.0 and 6.1.0 which will do perfectly.
-
ah yes. and maybe there was 4.8.3 not sure if the diff is still present.
-
btw. should you port some stuff using build aros system/cross toolchain you can always share the sources with me to ensure it compiles for abi v1 platforms, or if mmakefile needs to be written.
-
Yes, GCC 4.8.3 is there as well, but I already used 5.3.0 to compile the same project for MorphOS and OS4, so I'll go with that one. For C++ the newer the compiler the better anyway. The source code will be available in my GitHub forked repo once I'm done, I'm not a fan of "closed open source" ports ;)
-
Drats. The 5.3.0 and 6.1.0 GCC patches are incomplete for ABIv0, because they don't add support the "-newclib" switch, so the compilation fails before everything gets built. I somehow still have the SDK libs/includes, but I forgot to put in the contrib sources, and now it refuses to build it separately. I guess I'll try 4.8.3 which has this switch, and according to the GCC site has a feature complete C++11 implementation.
-
have you got that? while at it there is a slack channel i could invite you to if you like.
-
I almost forgot about this, but here's my modified GCC 6.1.0 patch for ABIv0.