Welcome, Guest. Please login or register.

Author Topic: OS4 Compiler  (Read 16199 times)

Description:

0 Members and 1 Guest are viewing this topic.

  • Guest
OS4 Compiler
« 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?
 

Offline SlimJim

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 752
    • Show only replies by SlimJim
Re: OS4 Compiler
« Reply #1 on: January 08, 2003, 12:24:50 PM »
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
 

  • Guest
Re: OS4 Compiler
« Reply #2 on: January 08, 2003, 12:28:32 PM »
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.
 

Offline tonyw

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: OS4 Compiler
« Reply #3 on: January 08, 2003, 12:42:01 PM »
I think it's gcc. But write to ben@hyperion and ask him. He'll probably be happy to tell you.

tony
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show only replies by Rogue
    • http://www.hyperion-entertainment.com
Re: OS4 Compiler
« Reply #4 on: January 10, 2003, 10:17:38 AM »
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).
Look out, I\'ve got a gun
 

Offline ksk

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 381
    • Show only replies by ksk
Re: OS4 Compiler
« Reply #5 on: January 10, 2003, 10:37:54 AM »
@Rogue

It would be a good thing to include at least some simple developer tools with the OS.
(like AmigaBasic with the AmigaOS1.x)
 

Offline Warface

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 970
    • Show only replies by Warface
    • http://www.spacehawks.hu
Re: OS4 Compiler
« Reply #6 on: January 10, 2003, 10:41:52 AM »
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.
 

Offline Hattig

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 901
    • Show only replies by Hattig
Re: OS4 Compiler
« Reply #7 on: January 10, 2003, 10:46:59 AM »
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
 

Offline Orgin

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 287
    • Show only replies by Orgin
Re: OS4 Compiler
« Reply #8 on: January 10, 2003, 11:02:43 AM »
@Rogue

Lucky me for having linux installed nearby then :)

/Björn
Mooh?
 

Offline Orgin

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 287
    • Show only replies by Orgin
Re: OS4 Compiler
« Reply #9 on: January 10, 2003, 12:11:42 PM »
@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
Mooh?
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: OS4 Compiler
« Reply #10 on: January 10, 2003, 12:31:47 PM »
GCC is the best to use.
As you should also then be able to port to AROS with a minimum of effort. :-D

Offline Skyraker

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 686
    • Show only replies by Skyraker
    • http://www.wolves.co.uk
Re: OS4 Compiler
« Reply #11 on: January 10, 2003, 01:40:39 PM »
Does anyone know if Blitz will return, or have they abandoned us completely?
---------------------------------------------------------------------
I have the body of an 18 year old ......... I keep it in the fridge.
---------------------------------------------------------------------
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show only replies by Rogue
    • http://www.hyperion-entertainment.com
Re: OS4 Compiler
« Reply #12 on: January 10, 2003, 02:11:28 PM »
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.
Look out, I\'ve got a gun
 

Offline Orgin

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 287
    • Show only replies by Orgin
Re: OS4 Compiler
« Reply #13 on: January 10, 2003, 02:25:18 PM »
@Rogue

Okie, thanks for the answer.

/Björn
Mooh?
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: OS4 Compiler
« Reply #14 on: January 10, 2003, 04:48:33 PM »
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 :-(
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)