English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language

 
 
Thread Tools
Old 02 June 2017, 20:30   #41
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
I've installed the aforementioned sasc658, and the manuals (2 volumes/.txt files) seem to be lacking the 'displays' (figures). Am I doing something wrong? I've tried MultiView and the SAS/C editor.

Is there any version version of these manuals that do include the figures? Eg, a .pdf would be great!
guy lateur is offline  
Old 02 June 2017, 23:32   #42
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
Click image for larger version

Name:	Hello42.jpg
Views:	560
Size:	321.2 KB
ID:	53316

Hurray!
guy lateur is offline  
Old 03 June 2017, 15:07   #43
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Figures?
idrougge is offline  
Old 03 June 2017, 17:30   #44
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
Like here (Manual Volume 1, Part 1, Chapter 2):

Click image for larger version

Name:	ManSASC.jpg
Views:	397
Size:	409.8 KB
ID:	53320

Surely there should be some kind of screenshot there?
guy lateur is offline  
Old 04 June 2017, 00:33   #45
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Maybe there's something better than plain-text docs here:

http://amiga-manuals.xiik.net/index.php
http://www.bombjack.org/amiga/index.htm
Leffmann is offline  
Old 04 June 2017, 03:16   #46
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Lattice C is the predecessor of SAS/C, and Bombjack has the manual set for that one.
idrougge is offline  
Old 04 June 2017, 11:14   #47
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
Ok I see, I'll check out the Lattice manual, thanks!
Nice links, btw, looks like there's a ton of info there.
guy lateur is offline  
Old 05 June 2017, 12:15   #48
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
Quote:
Volume 1 of the manual for the primary Amiga C compiler for most of the 1990s. Updated for version 6.5.

SAS/C Development System User's Guide, Volume 1: Introduction, Compiler, Editor, Version 6
https://archive.org/details/sasc-650-vol1


Quote:
Volume 2 of the user's guide for the primary Amiga C compiler for most of the 1990s. Covers version 6.5.

SAS/C Development System User's Guide, Volume 2: Debugger, Utilities, Assembler, Version 6
https://archive.org/details/sasc-650-vol2
modrobert is offline  
Old 05 June 2017, 20:27   #49
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
As much as I would have liked this to be the pdf's I was looking for, unfortunately they aren't. The missing screenshot I mentioned (Display 2.1) is readable, but the 3 following ones are so blurred they are unusable.

Thanks for the effort, though!
guy lateur is offline  
Old 06 June 2017, 10:28   #50
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
Quote:
Originally Posted by guy lateur View Post
As much as I would have liked this to be the pdf's I was looking for, unfortunately they aren't. The missing screenshot I mentioned (Display 2.1) is readable, but the 3 following ones are so blurred they are unusable.

Thanks for the effort, though!
Those are the correct manuals, even if the embedded screenshots are bad quality in the PDF version.

There are deliberate errors in the first few examples which can be a bit confusing, part of the learning experience is to correct those in order to get familiar with the IDE. Perhaps not the brightest idea since many users try the included examples as a way to test if the compiler is installed correctly before even opening the manual, and they are in for a surprise.

I suggest you download the file called "GENERIC RAW BOOK ZIP", it's a bit better there, screens are barely readable.
modrobert is offline  
Old 06 June 2017, 12:08   #51
guy lateur
Registered User
 
guy lateur's Avatar
 
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
Quote:
Originally Posted by modrobert View Post
I suggest you download the file called "GENERIC RAW BOOK ZIP", it's a bit better there, screens are barely readable.
Indeed, they're almost readable in that version! I guess I'll be using them together; there's not a lot of screens, anyway. Thanks again!
guy lateur is offline  
Old 02 August 2018, 11:04   #52
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Thread Necro Incorporated

What is the biggest pluses and minuses between the c compilers?
SAS/C
Dice
Vbcc
Gcc
Storm
HiSoft

(And probably others I've not thought of)

Just fancy a breakdown of these to get a general idea.

I got a book (Complete Amiga C by Cliff Ramshaw) which references Dice and apparently came with a full registered version of it. Haven't got the disks but you know.....

I will NOT under any circumstance be doing any coding on a different computer, it's only on the Amiga I want. A1200 with 68030@40 MHz, 127MB Fast, several GB HD
Doc Mindie is offline  
Old 02 August 2018, 12:09   #53
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
What C compiler to use?

Quote:
Originally Posted by Doc Mindie View Post
Thread Necro Incorporated

What is the biggest pluses and minuses between the c compilers?
SAS/C
Dice
Vbcc
Gcc
Storm
HiSoft

(And probably others I've not thought of)

Just fancy a breakdown of these to get a general idea.

I got a book (Complete Amiga C by Cliff Ramshaw) which references Dice and apparently came with a full registered version of it. Haven't got the disks but you know.....

I will NOT under any circumstance be doing any coding on a different computer, it's only on the Amiga I want. A1200 with 68030@40 MHz, 127MB Fast, several GB HD

Only my opinion but I’d only use VBCC or GCC for new projects. Because they are supported and maintained. SAS/C would be my backup choice because I happen to have worked at SAS and with the last maintainer of the product.

I’d never do coding on the target machine though.

GCC is a bit more heavyweight but allows the porting of Unix apps. VBCC is lightweight and available for many architectures.
plasmab is offline  
Old 02 August 2018, 12:39   #54
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,322
Sas/C is the most Amiga friendly, relatively easy to use (once you know how to setup a new project).
Vbcc is good with standards and easy to setup ; also actively maintained.
Gcc is for Unix stuff ; generates its own object format and not generally user friendly (but is supposed to produce good code).
HiSoft cpp has integrated IDE, is very friendly, compiles fast, but not good with current standards and sometimes a little on the buggy side.

I don't usually code in C (especially not for Amiga apps) and my typical use is to compile current code and then step-by-step convert into handwritten asm.
But if faced the need to write portable code i'd use VS2015 to make it work, then vbcc to build the 68k version.
meynaf is online now  
Old 02 August 2018, 12:40   #55
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by Doc Mindie View Post
I got a book (Complete Amiga C by Cliff Ramshaw) which references Dice and apparently came with a full registered version of it. Haven't got the disks but you know.....
Dice C wasn't that bad actually (and that's a pretty good book - have it and the disks myself), so if you did want it, the disk images from the book are here. There's also a slightly updated version available on Aminet here. However, I would agree with plasmab in that both GCC and VBCC have been updated a lot since then, so might be a better option if you're going to be doing anything serious. The vast majority of the material in the book will be the same across all the compilers anyway, with only minor tweaks needed regarding compiler-specific things.
Daedalus is online now  
Old 02 August 2018, 13:10   #56
Marlon_
AmigaDev.com
 
Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
Quote:
Originally Posted by meynaf View Post
Gcc is for Unix stuff ; generates its own object format and not generally user friendly (but is supposed to produce good code).
Bebbo made the new GCC-6 compiler compile directly as HUNK format instead of ELF, also produces probably the best 68k binaries to date because of all the optimizations he's made. One big plus with it is that you can get help from Bebbo if you get stuck.

The biggest con is that you can't use it to compile ON the target machine, but it's really well made for cross compiling and it supports live debugging with GDB.
Marlon_ is offline  
Old 02 August 2018, 15:20   #57
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,322
Quote:
Originally Posted by Marlon_ View Post
Bebbo made the new GCC-6 compiler compile directly as HUNK format instead of ELF, also produces probably the best 68k binaries to date because of all the optimizations he's made. One big plus with it is that you can get help from Bebbo if you get stuck.
I wasn't talking about the executable format, but the object files. Does GCC-6 produce AmigaOS object files that any linker will accept as input ?
meynaf is online now  
Old 02 August 2018, 17:53   #58
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by meynaf View Post
I wasn't talking about the executable format, but the object files. Does GCC-6 produce AmigaOS object files that any linker will accept as input ?


I believe GCC6 still produces elf as the intermediary format. But vlink can take elf and HUNK if you don’t mind using it as a linker. I have never tried this though.
plasmab is offline  
Old 02 August 2018, 19:16   #59
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,309
Quote:
Originally Posted by Marlon_ View Post
The biggest con is that you can't use it to compile ON the target machine, but it's really well made for cross compiling and it supports live debugging with GDB.
GCC 6 cannot be used on the target machine but older versions like 2.95 could.

In theory you could compile GCC for the Amiga if it supports ixemul. I got a PI version running with minimal hacking. Sort of. It kept running out of RAM but eventually produced something that could generate 68k.
nogginthenog is offline  
Old 02 August 2018, 22:29   #60
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
It's about time someone set up "cross-builder environments for Amiga as a service" in the cloud. Then one can write code on the Amiga and just "toss it up there" for compilation, and quickly receive an lha with (if you are lucky) finished binaries etc. and a build log.
kolla is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A/C Compiler christianlucio request.Apps 4 25 September 2014 17:35
Compiler BinoX support.WinUAE 2 22 August 2014 13:10
De-compiler Sim085 support.Other 3 21 November 2013 11:15
amiga c/c++ compiler Fissuras request.Apps 41 18 June 2012 20:50
C compiler raptor_13 Coders. General 14 27 May 2008 09:40

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:32.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.20376 seconds with 14 queries