Welcome, Guest. Please login or register.

Author Topic: best c++ compiler?!?!?!?!?! : (  (Read 1098 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kvasarnomadTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2003
  • Posts: 70
    • Show only replies by kvasarnomad
    • http://goto.glocalnet.net/kvasar.nomad
best c++ compiler?!?!?!?!?! : (
« on: February 16, 2004, 08:18:04 PM »
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:
hdw:
µ-A1-C - OS4.0-PR-U2, 256MB || A1200D - NetBSD(part), 50MHz, 32MB RAM, 6GB HD || A600 -  OS2.4, 2MB RAM, 60MB HD  || 2xA600 - OS2.4 || AMD - FC3, 1GHz || VIA Mini-Itx - Debian, 533MHz || Aqua PS2
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: best c++ compiler
« Reply #1 on: February 16, 2004, 08:33:38 PM »
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
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16866
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: best c++ compiler?!?!?!?!?! : (
« Reply #2 on: February 17, 2004, 12:48:03 AM »
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 ;-)
int p; // A
 

Offline kvasarnomadTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2003
  • Posts: 70
    • Show only replies by kvasarnomad
    • http://goto.glocalnet.net/kvasar.nomad
Re: best c++ compiler ok
« Reply #3 on: February 17, 2004, 11:48:24 AM »
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).
hdw:
µ-A1-C - OS4.0-PR-U2, 256MB || A1200D - NetBSD(part), 50MHz, 32MB RAM, 6GB HD || A600 -  OS2.4, 2MB RAM, 60MB HD  || 2xA600 - OS2.4 || AMD - FC3, 1GHz || VIA Mini-Itx - Debian, 533MHz || Aqua PS2
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: best c++ compiler?!?!?!?!?! : (
« Reply #4 on: February 17, 2004, 01:39:56 PM »
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.
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: best c++ compiler ok
« Reply #5 on: February 17, 2004, 02:23:52 PM »
/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
 

Offline Noster

  • Sr. Member
  • ****
  • Join Date: Jan 2004
  • Posts: 375
    • Show only replies by Noster
Re: best c++ compiler ok
« Reply #6 on: February 21, 2004, 08:52:40 PM »
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