Amiga E Programming for AROS
Chris Handley has made a beta version of his Amiga E implementation called PortablE available for AROS now. You can only obtain a copy of PortablE through the Amiga E mailing list available at http://www.freelists.org/list/positron. If you register and ask Chris for it, he will send you a link. Chris said PortablE is working well and may not be in beta stage much longer. So he will provide a link on the PortablE web site once the beta is finished.
I have been testing PortablE on AROS lately. In short, here is how PortablE works. You write your Amiga E code, use PortablE to translate it into a .cpp file and then use any C++ compiler to compile the file into an executable. I have been using g++ inside AROS. If you want to go to Amiga Classic, you can use PortablE to translate to Amiga E and then move it to Classic where you can use an Amiga E compiler like CreativE. More detailed information is available on the PortablE web site at the link I provided above.
There are a few things you need to setup in AROS for things to work. For one, you need a Stack of 100000. You can set this up by typing “stack 100000″ (without the quotes) in the AROS shell. You need to do an assign for PEmodules. Do this with this command: Assign PEmodules: VolumeName:PEmodules
You can put Assign commands like this in your user-startup file in AROS so you don’t have to do it everytime. User-startup is in System:S
You also need some Assigns placed in there for g++. The exact Assigns you need can be found in the INSTALL file located in System:Development
So here are the commands I entered on the command line once I had things setup to test a simple program.
PortablE test.e (This gave me a file named test.cpp)
g++ test.cpp -o test (This gave me a file named test to run as an executable)
So then I just typed in the name of my executable at the shell and it ran and printed “Hello, World!”.
Don’t forget to come and hang out with us on the #AmigaE IRC channel on Freenode if you are interested in Amiga E programming. I have recently created an Amiga E IRC channel on Freenode at #AmigaE.
Enjoy!
No comments yet
Leave a reply