Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Login
Register
Amiga.org
»
Amiga computer related discussion
»
Amiga/MorphOS/AROS Programmers Forum
»
Wich C is used in AmigaOS?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Wich C is used in AmigaOS? (Read 1138 times)
Description:
0 Members and 1 Guest are viewing this topic.
kamelito
Hero Member
Join Date: Jul 2011
Posts: 547
Thanked: 2 times
Wich C is used in AmigaOS?
«
on:
August 25, 2015, 01:59:00 PM »
For insiders, knowing that AmigaOS shipped in 1985 It was then written regarding C in K&R, does CBM did migrate at one point to ANSI C? Today what is used? K&R, ANSI, C99 or C11 or a mix of all or some?
Thx
Kamelito
Logged
sm3
VIP / Donor - Lifetime Member
Jr. Member
Join Date: May 2014
Posts: 73
Re: Wich C is used in AmigaOS?
«
Reply #1 on:
August 25, 2015, 03:14:59 PM »
While I'm no Amiga C guru, I have the boxed version of the SAS/C Lattice C for AmigaDOS (version 5). On the side of the box it reads:
" Lattice C Compilers conform very closely to the proposed ANSI C standards.."
This version was for AmigaDOS 2.0.
The last version for the Amiga was 6.58 I believe. Here is what the docs mention regarding it:
Compatibility with Standards
Most functions in the SAS/C library are compatible with industry-recognized C library standards, including
ISO/ANSI C
traditional UNIX C libraries
POSIX 1003.1.
ISO/ANSI C Standards
The SAS/C library is fully compliant with the 1990 ISO/ANSI C standard. Implementation-defined behavior for the ISO/ANSI library is described in Chapter 2, "Language Definition" in
SAS/C Compiler and Library User's Guide, Fourth Edition
.
This was taken from here:
http://support.sas.com/documentation/onlinedoc/sasc/doc/lr1/lrv1ch1.htm#sect3_1
«
Last Edit: August 25, 2015, 03:29:57 PM by sm3
»
Logged
theprez
S.A.C.C.
Newbie
Join Date: Jul 2009
Posts: 27
Re: Wich C is used in AmigaOS?
«
Reply #2 on:
August 26, 2015, 06:19:15 AM »
You might want to ask ssolie. He writes AmigaOS all the time. Not "for" AmigaOS - the OS itself. The last time we talked, he emphasized that he was using "C" to do it. Since I'm not a programmer at that level (or most any level, for that matter), I'm not sure which "C."
However, I do know that he's currently testing a new SDK for AmigaOS. You might try the AmigaOS wiki
here
to find out more. Hope this helps.
Logged
[SIGPIC][/SIGPIC]amigaprez
Classic Amigas (several), AmigaOne SE, SAM 440ep, X5000
Old PC running XP (only when I must run other software)
sm3
VIP / Donor - Lifetime Member
Jr. Member
Join Date: May 2014
Posts: 73
Re: Wich C is used in AmigaOS?
«
Reply #3 on:
August 26, 2015, 01:23:17 PM »
You reminded me of a good point, I was describing the C compilers for the classic AmigaOS up to 3.1 (I suppose it is).
I don't really have any knowledge of the more modern versions (anything beyond 3.1).
Logged
theprez
S.A.C.C.
Newbie
Join Date: Jul 2009
Posts: 27
Re: Wich C is used in AmigaOS?
«
Reply #4 on:
August 27, 2015, 02:54:01 AM »
I think the current SDK is using gcc as the compiler.
Logged
[SIGPIC][/SIGPIC]amigaprez
Classic Amigas (several), AmigaOne SE, SAM 440ep, X5000
Old PC running XP (only when I must run other software)
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Amiga computer related discussion
»
Amiga/MorphOS/AROS Programmers Forum
»
Wich C is used in AmigaOS?
There was an error while thanking
Thanking...