Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users



(1) 2 3 4 ... 6 »


a more modern gcc?

Joined:
2011/8/1 19:54
From not Virginia :-( nor Flagstaff :-( nor Gaeta :-( :-( :-(
Group:
Member
Posts: 62
Offline
The c/c++ compiler included with AROS appears to be a 2011 vintage. Is there any plan to move to a more modern compiler?

One reason I ask is that there have been 3 iterations of the C++ standard since 2011 (c++11, c++14, c++17) and it would be nice to use at least c++11, which is an immense improvement on previous standards: Strousroup called it "essentially a new language".

Posted on: 4/1 13:02
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1122
Offline
aros has gcc-6, its just still not the default compiler. dont ask me why. you need to configure toolchain with --with-binutils-version=2.25 --with-gcc-version=6.3.0 to enable it.

Posted on: 4/1 17:05
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2011/8/1 19:54
From not Virginia :-( nor Flagstaff :-( nor Gaeta :-( :-( :-(
Group:
Member
Posts: 62
Offline
Quote:

wawa wrote:
aros has gcc-6, its just still not the default compiler. dont ask me why. you need to configure toolchain with --with-binutils-version=2.25 --with-gcc-version=6.3.0 to enable it.

Thanks. Now the really dumb question: how do I configure the toolchain? I'm working with the Icaros distribution. Will I have to install 6.3.0 from scratch?

Posted on: 4/1 17:09
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1122
Offline
it might be possible that aros can compile itself, meanwhile. it would be good. but i dont have experience with that, abi v0 or any x86 distibution. simplest thing would be check out abi v0 sources and cross build them under linux configured somewhat like that:

--target=linux-i386 --with-serial-debug=yes --with-binutils-version=2.25 --with-gcc-version=6.3.0

Posted on: 4/1 17:30
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2012/5/29 7:30
Group:
Member
Posts: 620
Offline
AROS can indeed compile itself, or at least could in the past.
There was both a completed bounty for the task some years back, and a "refresher", fixing issues that had crept in done by Deadwood a little while back.

Posted on: 4/1 18:59
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2011/8/1 19:54
From not Virginia :-( nor Flagstaff :-( nor Gaeta :-( :-( :-(
Group:
Member
Posts: 62
Offline
Perhaps the more pertinent question is this:

I am running AROS standalone, not hosted, etc. On AROS Archives I see that I can download various versions of gcc to install, but alas, gcc-6.x is not among them.

Can I install gcc-6.x by downloading it from somewhere and running the usual configure, etc.? I did once install gcc, some 25 years ago, to a DEC workstation, so in theory I’m not completely incapable of such a thing.

Posted on: 4/1 20:37
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 2139
Offline
ABI v0 only has the 4.x gcc version.

Posted on: 4/2 10:28
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2011/8/1 19:54
From not Virginia :-( nor Flagstaff :-( nor Gaeta :-( :-( :-(
Group:
Member
Posts: 62
Offline
The main things I’m inferring from this conversation are that:

a) Icaros doesn’t include gcc 6.x.

b) AROS can be compiled to work with gcc 6.x but you have to use ABI v1 (or whatever not-0 is).

c) It’s not clear which ABI Icaros 2.2 comes with, but I suspect it’s ABI v0.

The upshot is that no, I can’t use gcc 6.x, or at least no one is aware of someone having done it. I either have to figure out how to make gcc 6.x work on my own, or (more likely) switch to ABI v1 by downloading a different version of AROS, compiling it while hosted, etc.

Posted on: 4/3 8:04
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 3965
Offline
simplex: None of the AROS distributions are abi v.1
The simple reason for it is that through the years lot's of stuff was ported to abi v.0 and will not work with abi v.1 unless recompiled. Might not seam that hard but a lot of sources are lost. I had this topic not long ago about moving to abi v.1 for the distributions but noone liked the idea or could see the point.
For sure AROS-64 is the way of the future and will at least be abi v.1
Compiling the source code we have from 32-bit to 64-bit can from what I understood be real painfull.
Right now we are kind of in a bad situation.
Lack of developers. Lack of plan.
I don't think moving to 64-bit for AROS will ever happen.
Backporting to abi v.0 seams like the only way.

Posted on: 4/3 10:14
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: a more modern gcc?

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 2139
Offline
Quote:

nikolaos wrote:
simplex: None of the AROS distributions are abi v.1
The simple reason for it is that through the years lot's of stuff was ported to abi v.0 and will not work with abi v.1 unless recompiled. Might not seam that hard but a lot of sources are lost. I had this topic not long ago about moving to abi v.1 for the distributions but noone liked the idea or could see the point.


There are no distributions purely for the reason that it is still incomplete. The rest you’ve pretty much made up because it’s your opinion. P. S - what code is missing which isn’t on aros-archives?

Considering ABI v1 fixes lots of issues/bugs and inconsistencies in the aros code base, and makes it far easier to port things - your last claim seems nonsensical.its the fact people who don’t have a clue keep posting things like this about it, that dissuades most developers/users. It also holds back ABI v1 from getting the development it deserves/needs.

Quote:

For sure AROS-64 is the way of the future and will at least be abi v.1
Compiling the source code we have from 32-bit to 64-bit can from what I understood be real painfull.
Right now we are kind of in a bad situation.
Lack of developers. Lack of plan.
I don't think moving to 64-bit for AROS will ever happen.
Backporting to abi v.0 seams like the only way.


Lack of able developers is the only thing correct in this statement. ABI v0 is dead for all intents and purposes - it is not maintained and ‘backporting’ is not an option, since it would break compatabilty with most things. It isn’t going to happen.

Posted on: 4/3 10:48
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer



(1) 2 3 4 ... 6 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4405
2 magorium
magorium
4095
3 nikolaos
nikolaos
3965
4 phoenixkonsole
phoenixkonsole
3903
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2779
7 mazze
mazze
2221
8 Kalamatee
Kalamatee
2139
9 clusteruk
clusteruk
2112
10 damocles
damocles
1789
© 2004-2018 AROS Exec