20 November 2004, 18:57 | #1 |
Junior Member
Join Date: Jul 2004
Location: Greece
Posts: 237
|
Programmers question
If i have the source code of a simple program that runs on PC would i be able to compile it and run it on Amiga? The program is written in C++. Please help.
What would i need to do that if it's possible? |
20 November 2004, 19:07 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,024
|
If it has no GUI, no Windows stuff etc. then yes. However the only C++ compilers for AmigaOS are GCC and StormC. GCC is a real pain to install and StormC is commercial.
If the program was C only there would be some easy to use compilers for the Amiga, e.g. DiceC or VBCC. http://gg.portail-e.com/geekgadgets/...68k/alpha/gcc/ http://www.kefren.be/modules.php?nam...download&cid=1 http://www.haage-partner.com/storm/sc_e.htm http://de.aminet.net/aminetbin/find?dice-3 http://de.aminet.net/aminetbin/find?vbcc.lha |
20 November 2004, 19:23 | #3 |
Junior Member
Join Date: Jul 2004
Location: Greece
Posts: 237
|
What is a compiler's job? It makes a program "viewable" or lets maybe better say executable by the computer?
|
20 November 2004, 19:59 | #4 |
Junior Member
Join Date: Jul 2004
Location: Greece
Posts: 237
|
I 've just downloaded Storm C demo for Amiga and Dev C++ for Windows also some simple source codes, i guess i will try and experiment myself..
|
21 November 2004, 10:56 | #5 |
Registered User
|
A compilers job is to translate your source code into a computer understandable code that could be executed. this has to be done before the computer can "use" your code.
Theres also some programming languages that do this "on the fly", like Amiga Basic. They use a so called "Interpreter" but are usually much slower than compiler-based languages. good luck experimenting |
21 November 2004, 13:40 | #6 |
Junior Member
Join Date: Jul 2004
Location: Greece
Posts: 237
|
Thanx very much. I am trying to use Storm C demo but i can't compile anything (Amiga sources). Instead i am using Dev C++ in Windows and it seems OK (using Windows source codes for compiling).
|
12 December 2004, 09:13 | #7 | |
Zone Friend
Join Date: Oct 2004
Location: here
Age: 54
Posts: 97
|
Quote:
Try to download a good compiler, which might depend on the system you are using...You could even try Commodore's Lattice C Compiler that came on one disk if I remember correctly...Don't use a demo version if you can avoid it since a lot of the time features might be disabled that you'd expect to be there...Good luck !! |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Who are/were the best programmers? | Codetapper | Retrogaming General Discussion | 62 | 27 August 2010 23:53 |
for ASM programmers | meynaf | Coders. General | 29 | 05 August 2010 10:00 |
Game programmers wanted please! | Pyromania | News | 1 | 22 December 2005 01:40 |
For Game Programmers... | DaphydTheBard | Retrogaming General Discussion | 46 | 26 November 2005 17:01 |
Got Programmers? | Ian | Retrogaming General Discussion | 1 | 18 October 2001 01:57 |
|
|