[SOLVED] GCC 4.9.X and OSX (clang)

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
Indiket
DC Developer
DC Developer
Posts: 99
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sun Sep 05, 2010 5:44 am
Has thanked: 0
Been thanked: 0

[SOLVED] GCC 4.9.X and OSX (clang)

Post by Indiket »

Hi folks!

As suggested by SWAT latest posts, I tried to build GCC 4.9.1 on my OSX setup... and at the end, it works!! :D :D

https://github.com/DC-SWAT/DreamShell/t ... /toolchain

Remember to use the Makefile because it includes the necessary clang / OSX fixes to build it nicely!! :)
And update "include/kos/cdefs.h" applying the patches from kos.diff, too!

Furthermore, I read that GCC 5.1.0 is on the streets (but even if it compiles, it throws important errors at C++ linking stage). Maybe it is worth a look? :)
Last edited by Indiket on Sun Jul 05, 2015 9:50 am, edited 5 times in total.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5652
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: GCC 4.9.X and OSX (clang): can't compile :(

Post by BlueCrab »

Unfortunately, per the GCC manuals, the only compiler guaranteed to build GCC is GCC itself.

With regard to the 5.x series, there seem to be a number of SuperH regressions that are still being worked out on the GCC bugzilla. You're welcome to take a look at it, but I'm sticking with 4.7.x for the time being.
User avatar
Indiket
DC Developer
DC Developer
Posts: 99
Joined: Sun Sep 05, 2010 5:44 am
Has thanked: 0
Been thanked: 0

Re: GCC 4.9.X and OSX (clang): can't compile :(

Post by Indiket »

Reserved...
Post Reply