Amiga.org
Amiga News and Community Announcements => Amiga News and Community Announcements => Amiga Software News => Topic started by: bloodline on November 23, 2003, 05:58:41 PM
-
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++-4.3.1,binutils-2.14-aros.tar.bz2 (http://www.aros.org/downloads/gcc-g++-4.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
-
That's jolly bloody good news!
I hated the old method. It's becoming more and more like an OS every day! ;)
-
I agree, It was annoying having to have a Linux system to develop for AROS.
-
Now a developing environment would be nice
-
Now a developing environment would be nice
Do you mean an IDE? Then yes I agree :-)
I'm rather partial to Bloodshed's DevC++ which is a portable IDE for gcc... Maybe someone who knows about MUI could port it to the Amiga, so we can use it in AROS (or the Amigaoid OS of your choice) :-)
-
Maybe someone who knows about MUI could port it to the Amiga, so we can use it in AROS
How about you do your own goddamned ports instead of leeching off everybody else's work? :)
Besides, DevC++ is done in Delphi, which means it's going to be 1000% unportable to Amiga, MorphOS, AROS, regardless of MUI :)
=Neko=
-
Neko!! You know that Work requires money... ;-)
I didn't realies it was in Delphi :-(
Looks like we'll have to make our own...