Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
|
|
News : AROS now has a native gcc C/C++ compiler |
posted by Anonymous on 23-Nov-2003 18:00:11 (6552 reads) |
Fabio Alemagna has ported gcc C and C++ compilers to AROS. Read more for details.
Update: It has come to our attention that AmigaWorld regular "Drebben" is Matt Parsons (aka Bloodline) of the core AROS development team. For further details turn here.
Update2: A new status update is now available.
As the subject says, I finished the jobs required by the bounty #4, that is porting gcc C and C++ compilers to AROS (and binutils along the way...). The sources are in the AROS CVS, a first binary release, meant for internal testing purposes only, can be found here:
http://www.aros.org/downloads/gcc-g++-3.3.1,binutils-2.14-aros.tar.bz2
It doesn't contain any instructions on how to set the thing up, but I'll give you them here:
First of all, you need AROS to be completely up to date, so you'll have to wait for the next nightly builds if you have no access to the CVS, then once you get the archive unpack it wherever you want (as long as it's accessible from inside AROS) and then put these lines in your S:User-Startup (assuming you unpacked the archive in sys:):
assign nix: sys:usr assign usr: nix: assign bin: usr:bin
path usr:bin add
Now, you must copy AROS' libraries and includes in the right place. If you've got access to CVS and use to compiler AROS by yourself, you can find the includes in the SYS:Include directory and libraries in the SYS:lib directory, if instead you got only the binary archive from the AROS web site, then you need to get also the SDK from there. You can find the includes in the AROS-SDK/i386/include directory, and the libraries in the AROS-SDK/i386/lib directory.
Once you know where the include files and libraries are, then copy them, respectively, to nix:include and nix:lib. For example, say the includes are in the SYS:Include dir and the libraries are in the SYS:lib dir, then issue these commands from the AROS' shell:
copy SYS:Include/#? nix:include ALL copy SYS:lib/#? nix:lib
Once all that is done, you're ready to start working with the C and C++ compiler.
Remember that this is the first release, with testing purposes only, so there might be still bugs left. Please send bug reports either to the AROS-Dev ML or to the AROS' bug tracker on the sourceforge site, which can be found here:
http://sourceforge.net/tracker/?atid=439463&group_id=43586&func=browse
One more thing: gcc uses temporary files to achieve some of its goals (pipes are not supported yet), and these temporary files are put in T:. However, T: is usually assigned to Ram:T, and thus temporary files, which can be quite large, subtract memory from the system which could be used and could be needed by the compilation process itself. If you thus experience low memory problems, try to assign T: to some on-disk directories. If that doesn't appeal you, you can also define the environment variables TMP or TMPDIR to contain a location in which temporary files have to be put by gcc.
So far I haven't experienced any crashes, but if any should happen, please try increasing the stack used by the CLI, via the stack command, and see if that has any good effects, but in any case please submit a bug report.
As a final note, hoping I haven't forgotten anything, feel free to spread the news around, as long as a link to this email in the TeamAROS ML archive is provided together with your message, and as long as you _urge_ people to read this email before they try the binaries out.
Remember: this is still a testing release only, you're encouraged to submit bug reports, never assume it won't fail on you.
Best regards, Fabio Alemagna |
|
|
|
| STORYID: 1012
|
Goto page ( 1 | 2 | 3 )
Poster | Thread | CodeSmith
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 8:40:33
| | [ #41 ] |
| |
|
Elite Member |
Joined: 8-Mar-2003 Posts: 3045
From: USA | | |
|
| @Rogue:
You might want to add the ability to write core files that GDB can read. Where I work (I'm a software tester), any time I find a bug that results in a crash, the developer always wants a cdb dump file so he can inspect the dead process on his computer (rather than tying up mine, so I can use it to look for the next crash ) It's definitely a very useful feature. |
| Status: Offline |
| | Crumb
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 9:50:59
| | [ #42 ] |
| |
|
Elite Member |
Joined: 12-Mar-2003 Posts: 2209
From: Zaragoza (Aragonian State) | | |
|
| @Bloodline "But For AROS x86 it offers no real advantages over VESA2.0"
well... have you tried a x86 OS running a VESA driver and then installed a native accelerated driver and ran the thing again? XP doesn't have acceleration with many cards as default and only uses VESA. For example we use a P4/2.4ghz with tnt2m64 cards at work. The computers ran slow until we installed accelerated drivers(aka detonator). The same happened with an intel onboard gfx card.
VESA2.0 doesn't provide the same acceleration a native driver offers you.
I guess nVidia, ATI, Matrox etc are all stupid writting accelerated 2D drivers when everyone could use VESA2
"But, and you can correct me here, SNAP does not offer gfx accelleration or at least no more than VESA3.0"
I correct you: snap provides FULL 2D acceleration. I guess you haven't used Scitech Display Doctor on Windows... that was the previous version of snap and that provided accelerated 2d drivers, sometimes better than the original manofacturer drivers (for example the s3 virge ones were really good)
"oh yeah and SNAP costs money, which has no context in a Free OS... I suppose you get what you pay for "
I get that for free with OS4. And my old software will work too. And lots of other goodies.
I'm tired of free-software TALIBANS.
Oh BTW I would even prefer only having excellent 2d native drivers for Voodoo and Radeon like in MOS rather than only a VESA driver like in AROS. And that is a comercial os too, but I don't care.
For me an OS is better than other due to its features, not because one is free and the other not. _________________ The only spanish amiga news web page/club: CUAZ
|
| Status: Offline |
| | pixie
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 16:37:20
| | [ #43 ] |
| |
|
Elite Member |
Joined: 10-Mar-2003 Posts: 3385
From: Figueira da Foz - Portugal | | |
|
| @: Crumb Date: 25-Nov-2003 9:50:59 Quote:
For me an OS is better than other due to its features, not because one is free and the other not. |
Couldn't agree with you more! _________________ Indigo 3D Lounge, my second home. The Illusion of Choice | Am*ga
|
| Status: Offline |
| | gnarly
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 18:25:28
| | [ #44 ] |
| |
|
Cult Member |
Joined: 16-Mar-2003 Posts: 742
From: Cheltenham, UK | | |
|
| @Fabio Well done! Progressing all the time :)
@AW.net What the flink is this doing in an AROS news item?
Quote:
Update: It has come to our attention that AmigaWorld regular "Drebben... |
IMO its an unrelated thing and should not be in this news item. Its taking the shine off of a bit of very good news for AROS users. The fact that drebben is part of the AROS team is completely and utterly irrelevant!
I think this sort of thing should be dealt with in private. Not impressed at all.
(and in a bad mood generally... fscking SQL queries). _________________
|
| Status: Offline |
| | falemagn
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 18:28:30
| | [ #45 ] |
| |
|
Super Member |
Joined: 24-Nov-2003 Posts: 1126
From: Italy | | |
|
| Quote:
Quote:
For me an OS is better than other due to its features, not because one is free and the other not. |
Couldn't agree with you more! |
Well, to some the fact of being free is a feature.
That said, Matt wasn't talking about free things being better than commercial ones, Matt was talking about the suitability of SNAP to AROS. _________________ “It is well enough that people of the nation do not understand our banking and monetary system, for if they did, I believe there would be a revolution before tomorrow morning.” ~~ Henry Ford
|
| Status: Offline |
| | Crumb
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 18:45:54
| | [ #46 ] |
| |
|
Elite Member |
Joined: 12-Mar-2003 Posts: 2209
From: Zaragoza (Aragonian State) | | |
|
| @Fabio: "Well, to some the fact of being free is a feature."
For me it's not the most important feature. And having the source code is not the most important feature IMHO. In the Amiga ¿community? having lots of sources or free software doesn't help us much because we lack programmers, not free software. In aminet I have lots of free games. But I prefer commercial ones because they usually have higher quality.
"That said, Matt wasn't talking about free things being better than commercial ones, Matt was talking about the suitability of SNAP to AROS."
If somebody paid Scitech and an agreement about not including SNAP sources was signed it would be possible. It's a matter of money. Or if AROS was widely used and Scitech saw a potential market they would release SNAP for AROS as they do with Linux, and I have no doubts... SNAP would be quite faster than any card using VESA _________________ The only spanish amiga news web page/club: CUAZ
|
| Status: Offline |
| | falemagn
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 25-Nov-2003 18:59:50
| | [ #47 ] |
| |
|
Super Member |
Joined: 24-Nov-2003 Posts: 1126
From: Italy | | |
|
| Quote:
For me it's not the most important feature. |
I respect that, it's your opinion, but it's your opinion, other have theirs and anyone is free to chose what to like on the basis of his/her own preferences.
I'm saying that because I don't see the point in these message of yours: you're responding to someone about something he didn't even mention. I get the feeling you want to just enforce your opinion on the rest.
Quote:
And having the source code is not the most important feature IMHO. In the Amiga ¿community? having lots of sources or free software doesn't help us much because we lack programmers, not free software. In aminet I have lots of free games. But I prefer commercial ones because they usually have higher quality. |
Free doesn't mean gratis in this context, free means that you are free to modify it as you wish, to contribute to in in whatever ways you want and improve upon it. And when something is free you can be sure it will never die.
But again, why are we talking about this? No one other than you rised this issue, and we're way offtopic. Let's agree to disagree, ok?
Quote:
"That said, Matt wasn't talking about free things being better than commercial ones, Matt was talking about the suitability of SNAP to AROS."
If somebody paid Scitech and an agreement about not including SNAP sources was signed it would be possible. |
That goes against the principles of AROS, which is an Open Souce project. And besides, who's going to cough up that money? _________________ “It is well enough that people of the nation do not understand our banking and monetary system, for if they did, I believe there would be a revolution before tomorrow morning.” ~~ Henry Ford
|
| Status: Offline |
| | Crumb
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 26-Nov-2003 10:29:28
| | [ #48 ] |
| |
|
Elite Member |
Joined: 12-Mar-2003 Posts: 2209
From: Zaragoza (Aragonian State) | | |
|
| "I respect that, it's your opinion, but it's your opinion, other have theirs and anyone is free to chose what to like on the basis of his/her own preferences."
that's why I said "for me..."
"I'm saying that because I don't see the point in these message of yours: you're responding to someone about something he didn't even mention. I get the feeling you want to just enforce your opinion on the rest. "
I get the feeling that bloodline is trying to enforce his opinion when he don't want SNAP simply because it's not free and says that he prefers VESA drivers rather than SNAP.
"Free doesn't mean gratis in this context, free means that you are free to modify it as you wish, to contribute to in in whatever ways you want and improve upon it. And when something is free you can be sure it will never die."
As I have said that doesn't matter much because we need programmers.
And Free in this context also means gratis. We are talking about money of licences (SNAP in this context). _________________ The only spanish amiga news web page/club: CUAZ
|
| Status: Offline |
| | pods
| |
Re: AROS now has a native gcc C/C++ compiler Posted on 26-Nov-2003 15:46:34
| | [ #49 ] |
| |
|
Regular Member |
Joined: 7-Apr-2003 Posts: 339
From: Brunswick, Melbourne, Victoria, Australia | | |
|
| Quote:
I get the feeling that bloodline is trying to enforce his opinion
|
How? He was not enforcing anything, he only said, in more or less words, that it isnt in AROS's best interest. AROS is open source and suppost to be free software. I'd certainly be disapointed if suddenly i had to pay for it!
Thats why the drivers have no place in AROS. Unless ofcourse they do something with the GPL version of snap, which im not even sure if exists or could be ported to AROS, im not an AROS guru.
Quote:
when he don't want SNAP simply because it's not free
|
Wrong again, he stated his reasons for AROS not NEEDING SNAP drivers and then went on to say "Ohh and it costs money".
Quote:
and says that he prefers VESA drivers rather than SNAP.
|
Where are you getting this stuff... Look at my avatar, thats a very good impression of what i look like right NOW! I.e mad!
Quote:
As I have said that doesn't matter much because we need programmers.
|
And AROS being open source gives developers the best chance to develop for it or develop IT its self. |
| Status: Offline |
| |
|
|
Goto page ( 1 | 2 | 3 )
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|