Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
16 crawler(s) on-line.
 93 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 pixie:  10 mins ago
 Karlos:  24 mins ago
 MEGA_RJ_MICAL:  39 mins ago
 Templario:  44 mins ago
 ppcamiga1:  53 mins ago
 agami:  56 mins ago
 Rob:  59 mins ago
 broadblues:  1 hr 15 mins ago
 NutsAboutAmiga:  1 hr 33 mins ago
 DiskDoctor:  1 hr 39 mins ago

News   News : AROS now has a native gcc C/C++ compiler
   posted by Anonymous on 23-Nov-2003 18:00:11 (6556 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
Related Links
· More about News



Most read story about News
AmigaOS 4.0 Status Report

Last news about News
Interview of Oliver Roberts
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 | 3 )

PosterThread
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 20:51:33
# ]



I hope we can tempt some of the developers here to help us get AROS running on the AmigaONE

The AROS team is also looking for anyone who can help us continue our work on the "Amiga Classic" platform.

Thanks

-Edit- First Post

 
     Report this post  
alx 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 21:11:08
#2 ]
Super Member
Joined: 7-Mar-2003
Posts: 1224
From: Midlands, UK

@AROS team

Well done - I guess this means that it can Self Build now?

---edit---

Welcome to AW.net


_________________

 Status: Offline
Profile     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:07:07
# ]



Hi Alx (I've been keeping an eye on the wiki, I don't want people messing up all the pages I made )

Yeah, I decided that this was big enough news to register and post this news item.

Oh, and yes

 
     Report this post  
_PAB_ 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:10:06
#4 ]
Regular Member
Joined: 20-Sep-2003
Posts: 189
From: Germany

What is the next step ?
gdb & The Grim Reaper


_________________

 Status: Offline
Profile     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:11:33
# ]



I just want AROS to be installable for my P4. Since I won't be getting an AmigaOne real soon(Lite aren't until late 2004).

The potential for AROS is enormous. Everybody has an x86 computer. Add SciTech's SNAP technology, basic SBLive support, port a couple of NIC card drivers(realtek and 3com) from FreeBSD and voilą. And you'll get more Amigans then what Genesi and Amiga Inc will ever get.

Why did I learn RPG and COBOL instead of C?

 
     Report this post  
MikeB 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:20:06
#6 ]
Elite Member
Joined: 3-Mar-2003
Posts: 6487
From: Europe

@ angrybrit

Quote:
Since I won't be getting an AmigaOne real soon(Lite aren't until late 2004).


What makes you think that? The MicroA1 (aka AmigaOne Lite originally) is planned for release early 2004.

The Micro-ATX AmigaOne is planned for later in 2004 however. Maybe this caused the confusion?

@ AROS team

Good to see good progress is being made and also good to see an interest for supporting AmigaOne hardware.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:23:40
# ]



Quote:

What is the next step ?
gdb & The Grim Reaper


We've had gdb for years

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:30:13
# ]



Quote:

I just want AROS to be installable for my P4. Since I won't be getting an AmigaOne real soon(Lite aren't until late 2004).

The potential for AROS is enormous. Everybody has an x86 computer. Add SciTech's SNAP technology, basic SBLive support, port a couple of NIC card drivers(realtek and 3com) from FreeBSD and voilą. And you'll get more Amigans then what Genesi and Amiga Inc will ever get.

Why did I learn RPG and COBOL instead of C?



You can install AROS on your P4, Infact I installed it on my P4 on Friday... you have to have a spare hard drive though, as AROS likes the whole thing to itself at the moment

We don't really need Snap, as we can use VESA2.0 (The PPC can't use VESA2.0 AFAIK)...

We have AHI, and the SBlive drivers are ready to be compiled for AROS, but Our PCI drivers don't support Bus mastering at the moment, so the SBLive driver won't work

Yes, you should have learned C, and C is not that hard to learn, it's just very rigid

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 23-Nov-2003 22:33:55
# ]



Quote:

@ AROS team

Good to see good progress is being made and also good to see an interest for supporting AmigaOne hardware.


There has been a long standing desire to have AROS on the AmigaONE, since it is the goal of the AROS to allow anyone the oppertunity to run an "AmigaOS" on any hardware they chose to use.

The biggest hold up we've had on the A1 is the lack of developer support, that we have had.

I hope that some people on this site with "insider information" regarding the Hardware (or more accurately the Firmware), might be able to help us.

 
     Report this post  
Bodie_CI5 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 0:28:38
#10 ]
Elite Member
Joined: 29-Jul-2003
Posts: 6739
From: Unknown

Welcome Bloodline! I wish you and your team continued success on AROS!


_________________

 Status: Offline
Profile     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 0:37:24
# ]



@ MikeB
Yep, it's going to be in the first quarter. I can't wait for the review on AmigaWorld! *hint* *hint*


@ Bloodline
It works great in the MS Virtual PC app using an ISO. Unfortunately, I don't have a drive to give to AROS ATM.

IMO nothing is hard to learn in life. But I just don't like C. I'll have to learn it eventually. lol

Keep up the good work because I want the Amiga on my P4 too.

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 2:02:30
# ]



Quote:
The biggest hold up we've had on the A1 is the lack of developer support, that we have had.


In what way? Have you contacted Eyetech/Hyperion? I'd assume that you (the AROS team) already have an A1 therefore you would have access to the A1 MLs, perhaps you could get help from one of the linux guys.

 
     Report this post  
pods 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 2:10:26
#13 ]
Regular Member
Joined: 7-Apr-2003
Posts: 339
From: Brunswick, Melbourne, Victoria, Australia

wow ... this is so weird... i was only thinking about this last night... although ,i think about it most nights. I've recently been downloading books on C++ and i redownloaded the C++ IDL mapping :) so i might start a little dev work soon :) *snigger*

 Status: Offline
Profile     Report this post  
pods 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 2:21:17
#14 ]
Regular Member
Joined: 7-Apr-2003
Posts: 339
From: Brunswick, Melbourne, Victoria, Australia

Quote:


The Micro-ATX AmigaOne is planned for later in 2004 however. Maybe this caused the confusion?


It could be as late as that. remember we done have a good record when it comes to dead lines, plus any development should be expected to run late, as not many run on time. My first large programming project was exactly that.

Mike, at the melbourne OS4 show it was said that the MicroA1 board would not be released untill Q2/Q3 2004 but was mentioned it could take longer!

 Status: Offline
Profile     Report this post  
tonyw 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 9:24:16
#15 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

Let's face it, if Alan sells a whole lot to China, we won't be first in the queue.

tony


_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 9:27:43
# ]



Big Thx to the AROS Team!!!

What exactly is now possible? Is it possible to compile all that Window/Linux gcc programms to AROS now without changing the source?

See ya

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 10:30:19
# ]



poop...

AROS looks cool...

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 10:32:53
# ]



Quote:

Big Thx to the AROS Team!!!

What exactly is now possible? Is it possible to compile all that Window/Linux gcc programms to AROS now without changing the source?



From ann.lu:

In the Past, to develop for AROS you needed to have gcc running in Linux and then compile the programs for AROS... now you can develop and compile program for AROS, using AROS itself as the host OS!

No, you can't compile Windows and Linux program in AROS without changing the source, since AROS works in the same way as AmigaOS rather than the way Windows and linux work

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 10:42:57
# ]



Quote:

In what way? Have you contacted Eyetech/Hyperion? I'd assume that you (the AROS team) already have an A1 therefore you would have access to the A1 MLs, perhaps you could get help from one of the linux guys.


I have sent an Email to Eyetech requesting a board and developer support for AROS. But have not yet received a reply.

AROS is woefully short of "Hardware Hackers", If we were provided with a Board, one of the Team would have to learn about it which would take time. I would prefer an experienced A1 develoepr to join the team and help get AROS booting using the UBoot Firmware.

DaveP has recently been making positive noises about AROS on th A1, maybe he would like to help

Thanks.

 
     Report this post  
Anonymous 
Re: AROS now has a native gcc C/C++ compiler
Posted on 24-Nov-2003 11:20:35
# ]



I would help, and I did offer to donate towards getting AROS a board.

Dave.

 
     Report this post  

Goto page ( 1 | 2 | 3 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle