Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: on January 08, 2003, 12:19:47 PM
-
I am sure this has been asked/answered somewhere else before but what is the official compiler to use with OS4 applications?
I have currently got the latest version of SAS/C and GCC, where the latter, if my memory is not failing me, (in modified form?) is the compiler used by the developers of OS4?
-
Yes, I think Hyperion is using a slightly modified version of
gcc. Due to some technical considerations of theirs, it's not
based on the absolutely latest version of gcc though, if I
remember correctly.
.
SlimJim
-
So should I go with GCC for maximum portability?
I have been working with an Internet-application for some time now with SAS/C and for this I want to put minimum effort into adding support for OS4.
-
I think it's gcc. But write to ben@hyperion and ask him. He'll probably be happy to tell you.
tony
-
We are using both gcc 2.95.3 and gcc 3.2. gcc 3.2 only exists as a cross compiler on Linux ATM, though. If you're using gcc, chances are that your code will compile and run out-of-the-box on OS 4 (minus new features of course).
-
@Rogue
It would be a good thing to include at least some simple developer tools with the OS.
(like AmigaBasic with the AmigaOS1.x)
-
The idea is good, the example is terrific :-) AmigaBasic was the most limited Amiga application I have ever seen... File open, where you had to type in the entire path and filename by hand.... A nightmare. Good that it's history. So much for Microsoft software on Amiga.
-
I believe that Python will be included at the very least.
If there is space on the CD (DVD? :) ) I don't see the harm in including a directory with the OS4 ports of whatever various development tools are used however.
Dammit, why do I keep on getting logged out at random times... I should have a 1 year cookie, but it has never worked for me. :( :-x
-
@Rogue
Lucky me for having linux installed nearby then :)
/Björn
-
@Rogue
Btw, will any of those GCC compilers come together with the OS4 distribution at the time of release? (or available though download?)
/Björn
-
GCC is the best to use.
As you should also then be able to port to AROS with a minimum of effort. :-D
-
Does anyone know if Blitz will return, or have they abandoned us completely?
-
We're not yet sure on how to handle the developer material side of things. At the very least the stuff will be available for download, and probably also in the form of a new developer CD at an absolute minimum price (basically just the media). It might be on the final OS 4 CD, but that isn't decided yet, and will probably be something for the marketing department to decide.
-
@Rogue
Okie, thanks for the answer.
/Björn
-
are you going to change the "#includes" system? I'm a newbie and I have lots of problems due to the f***ing includes, stubs, protos, pragmas, inlines, static libs etc... It's quite frustrating for me :-(
are you going to unify the include system so every compiler will use the same static libs and includes?
It doesn't matter if I try StormC or gcc, using fd2pragma is not enough for most of third party includes/libs, for example with amarqueze I can compile using C but if I switch the compiler to C++ it gives me tons of errors in the includes, with P96 I can compile for 68k but if I switch to ppc the same happens :-(
If fd2pragma exists why can't it be integrated in current compilers so the programmer don't have to fight against all this ####? why can't we have a unified include system?
Ok, I'm not an experienced programmer, but I think that many people doesn't code for AmigaOS due to this, If I try to code for AmigaOS I end up frustrated because I know how to do most of things, the code is right, but everything fails due to the damn includes.
Ok, so we have fd2inline also... for me it's something like fd2pragma: millions of options.
AFAIK People don't have these problems with different assemblers, so why should this happen with C/C++?
Sorry for my complains, but this is the only problem I have with AmigaOS. When the include works I haven't problems. I made p96 work and I've got no problems apart from not being able to compile for ppc :-(
And we also have gcc, how can I compile for MorphOS/Amithlon/AmigaOS using the same gcc installation?
pfff sorry I feel quite frustrated today :-(
-
We are using both gcc 2.95.3 and gcc 3.2. gcc 3.2 only exists as a cross compiler on Linux ATM, though. If you're using gcc, chances are that your code will compile and run out-of-the-box on OS 4 (minus new features of course).
Ok, sounds great, thanks for the info.
-
Does anyone know if Blitz will return, or have they abandoned us completely?
All I know is that it currently is win-only. Blitz3D seems to be quite popular and is based around DirectX ((or maybe OpenGL?) if I am not totally out in the blue?) so it looks kinda dark. But who knows...
-
Blitz is still available on the amiga and still developed
for the amiga
it's called AmiBlitz now and there is a mailing-list
and a homepage for it at
http://blitz2000.gazchap.com/
btw. PC-Blitz 3D support isn't very good.
a mini-gl/warp3d blitz lib for amiga-blitz would probably
blow it out of the water.
-
trgse wrote:
Blitz is still available on the amiga and still developed
for the amiga...it's called AmiBlitz now
Yup, and a great job Bernd Roesch is doing on it too..regular updates and bugfixes.
Unfortunately, a while back Bernd said he had no plans to buy an AmigaOne or PegasOS :-( so I guess it`ll stay 68k only.
Maybe Amiga Inc could donate a machine to Bernd and give OS4 a boost in the many small apps people have created in Blitz over the years..
-
Unfortunately, a while back Bernd said he had no plans to buy an AmigaOne or PegasOS so I guess it`ll stay 68k only.
I have not followed on the progress of OS4/A1 but what was said about 68k emulation in that topic, if anything?
Maybe Amiga Inc could donate a machine to Bernd and give OS4 a boost in the many small apps people have created in Blitz over the years.
Donate when they can't even ship some t-shirts? ;-)