Welcome, Guest. Please login or register.

Author Topic: trying to compile some C++...  (Read 2342 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Steril707Topic starter

  • Jr. Member
  • **
  • Join Date: Sep 2007
  • Posts: 72
    • Show only replies by Steril707
trying to compile some C++...
« on: September 17, 2007, 09:57:04 PM »
Yesterday i installed AIAB together with my WinUAE, and i have to admit, thats really some nice stuff. I haven't been in touch with the Amiga since 1995, and i completely missed out on everything post Amiga 500 (i didn't care much about computers from 1991 up to 1995, then got a PC)

Today i downloaded and installed DICE C from AMINET, but trying to compile something didn't work out all to well.

so, now i have a few questions:

- The compiler tells he doesnt find the "Dinclude" folder. I guess this has something to do with some not properly setupped paths. How do i do this on the AMIGA?

- I am using a german keyboard. It seems it's not possible to do curly braces ->{}, they ar mapped to the keys above the 7 and 8 on the numpad, and WINUAE don't translate that to the Amiga. Any workaround to this..?

- Finally, is there any nice freeware editor available for the Amiga? Something comparable to TextEdit for instance? Using Ed isn't all to wonderful.

I know i can (and already did) use AmiDevCPP to do this stuff, but i want to have the possibility to write something up and compile in WINUAE as well.


thanks for your help...
Mike
 :-)
Check out my free Vectrex homebrews on http://www.borrmann.in  :-)
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: trying to compile some C++...
« Reply #1 on: September 17, 2007, 10:07:08 PM »
About DICE:
First of all, C++ cannot be translated with DICE since DICE is a C compiler only.  Secondly, the code generated by GCC v3.4.0 is much better than DICE.  Thirdly, VBCC, although still not a C++ compiler, can compile C more efficiently than DICE.  Finally, DICE is only useful to you if you're still running Kickstart 1.3 .

About AmiDevC++:
Cross compiling is much faster than compiling under WinUAE and is generally preferred.  This will also solve your editor and keymap problem.
 

Offline Steril707Topic starter

  • Jr. Member
  • **
  • Join Date: Sep 2007
  • Posts: 72
    • Show only replies by Steril707
Re: trying to compile some C++...
« Reply #2 on: September 17, 2007, 10:32:00 PM »
Okay, i will try out GCC then.. As i said, i will use AmiDevC++ on most of my endeavours, i just want to get the feeling for the system, so i want a working C(++) compiler on the Workbench.

One other thing: I want to install classact 2.0, but I get Guru Meditations very soon after the installation-start. Do i need something else to get this thing running? If not, can anybody point me to a working classact package. This one seems to be required quite often by a lot of programs.
Check out my free Vectrex homebrews on http://www.borrmann.in  :-)