amiga.org
     
iconAll times are GMT -6. The time now is 05:40 PM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Operating System Specific Discussions » Amiga OS » Amiga OS -- Development » best c++ compiler?!?!?!?!?! : (

Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS.

Reply
 
Thread Tools Display Modes
Old 02-16-2004, 01:18 PM   #1
kvasarnomad
Hobbyist
Points: 4,581, Level: 43 Points: 4,581, Level: 43 Points: 4,581, Level: 43
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2003
Posts: 70
Send a message via MSN to kvasarnomad
Default best c++ compiler?!?!?!?!?! : (

which is the best c++ compiler that will run on OS 3.1
and it must be small because i must transfer it via floppy
IDE is not nessesary.

[edit] i have no fast mem just a original A1200 with hd

[edit] i have only got one reply, have i said something wrong now again :-( :boohoo:
kvasarnomad is offline   Reply With Quote
Old 02-16-2004, 01:33 PM   #2
Kronos
Resident blue troll
Points: 13,368, Level: 75 Points: 13,368, Level: 75 Points: 13,368, Level: 75
Activity: 2% Activity: 2% Activity: 2%
 
Kronos's Avatar
 
Join Date: Feb 2002
Posts: 3,871
Default Re: best c++ compiler

020+2MB ?

Doubt that any C++-compiler will work on thise beast ......
Atleast not with non-trivial sources.
__________________
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
Kronos is offline   Reply With Quote
Old 02-16-2004, 05:48 PM   #3
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: best c++ compiler?!?!?!?!?! : (

Quote:
kvasarnomad wrote:
which is the best c++ compiler that will run on OS 3.1
and it must be small because i must transfer it via floppy
IDE is not nessesary.

[edit] i have no fast mem just a original A1200 with hd

[edit] i have only got one reply, have i said something wrong now again :-( :boohoo:
Compiling programs in C/C++ is a non trivial process for any reasonably sized project, fairly large amounts of memory can be used to build tables, optimise code etc. One project I worked on peaked at about 20Mb of memory useage (all optimisations enabled) to compile a program under 200K in size.

As for transferring stuff via floppy, don't worry too much. You can use ZIP on a PC to create a multivolume archive. Copy each chunk to your amiga hard disk, renaming them in numerical order as you go (winzip just calls them all filename.zip, so manually rename these filename.0, filename.1 ... etc.) You then use the amigados join command to concatenate them thus:

join filename.0 filename.1 ... as filename.zip

You can then use a good amigados 'unzip' utility. Most complain about proper multipart archives being unsupported but they usually compensate for it. Despite the warnings, this method has never failed me.

Anyway, back to your specific problem. I'm not sure there are any C++ compilers available for amigaos that will work comfortably in such a low memory configuration. Your best bet would be something like running storm c from a shell (ie skipping the IDE).

Even if you can get it configured to work in the bare 2MB, I fear you may commit suicide waiting for any reasonably sized source to compile :-(

If you want to use such applications, I strongly urge an accelerator with a fat chunk of ram as your next upgrade.

-edit-

Even if you don't want to use C++ anymore after this, still get an accelerator and ram anyway. The difference it makes to a bare A1200 is quite astonishing ;-)
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 02-17-2004, 04:48 AM   #4
kvasarnomad
Hobbyist
Points: 4,581, Level: 43 Points: 4,581, Level: 43 Points: 4,581, Level: 43
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2003
Posts: 70
Send a message via MSN to kvasarnomad
Default Re: best c++ compiler ok

ok then i just have to wait untill i buy the Blizzard 1240 with scsi-kit IV i been thinking to buy
will the B1240 + 32Mb fast(maybe more) be enought for c++ or scould i try to find a B 1260(havent seen one yet).
kvasarnomad is offline   Reply With Quote
Old 02-17-2004, 06:39 AM   #5
whabang
Guru Meditator
Points: 20,820, Level: 90 Points: 20,820, Level: 90 Points: 20,820, Level: 90
Activity: 2% Activity: 2% Activity: 2%
 
whabang's Avatar
 
Join Date: Mar 2002
Location: Amager
Posts: 7,188
Send a message via ICQ to whabang
Default Re: best c++ compiler?!?!?!?!?! : (

To transfer large ammount of files to the miggy via floppy, then I'd recomend RAR. There is a version of UnRAR for amiga. It supports multi-part archives natively, and provides much better compression than ZIP.
__________________
Beating the dead horse since 2002.
whabang is offline   Reply With Quote
Old 02-17-2004, 07:23 AM   #6
Kronos
Resident blue troll
Points: 13,368, Level: 75 Points: 13,368, Level: 75 Points: 13,368, Level: 75
Activity: 2% Activity: 2% Activity: 2%
 
Kronos's Avatar
 
Join Date: Feb 2002
Posts: 3,871
Default Re: best c++ compiler ok

/me was useing StormC1.x with A2630 (32MHz), and a combined memory of 7mb (1 Chip, 2 16-Bit-Fast, 4 32-Bit-Fast)....

Thats probraly the absolute minimum for doing anything above hello_world in C++.

32MB and 040 will work o.k., but more is allways better (must admit that I never had an 040).
__________________
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
Kronos is offline   Reply With Quote
Old 02-21-2004, 01:52 PM   #7
Noster
Technoid
Points: 4,978, Level: 45 Points: 4,978, Level: 45 Points: 4,978, Level: 45
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Posts: 375
Default Re: best c++ compiler ok

Hi,

I've always used -- and still using -- SAS/C (currently version 6.58).
Back the days I've used AmigaOS 3.1 and only had have 5 MB (1MB chip- and 4 MB fastram) in my A3000T (68030/25MHz that days), I've had no problems in building any project, there was so much memory free during compiling, I've thought about speeding up compilation by copying the compiler and all include-files into ram-disk.

I know that you can install SAS/C on floppy disks and so, I think, SAS/C will run on your machine (and I think it is still the best C-compiler available for Amiga, even if C++ is compiled by translating it to C by a preprocessor). The greater problem will be to get it. You should have a look at eBay.

Noster
__________________
DON\'T PANIC
Douglas Adams - Hitch Hiker\'s Guide to the Galaxis
Noster is offline   Reply With Quote
Reply

Bookmarks

Tags
c++ , compiler

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
xlC : compiler for AIX 5.3 CLS2086 Alternative Operating Systems 0 01-15-2009 01:33 PM
Where do I get a c compiler? rkauer Amiga Software Issues and Discussion 11 05-12-2007 08:52 AM
C Compiler Beowulf Amiga Software Issues and Discussion 5 05-11-2005 06:05 AM
Which C Compiler? Generale Amiga Software Issues and Discussion 10 03-12-2005 05:15 PM
OS4 Compiler Amiga OS -- Development 19 01-12-2003 04:25 PM