Restored from previous forum. Originally posted by willinyork.
I've finished my program at last (thanks to all those that helped!), and have one question - how to I compile it to run on an Amiga? My prog works perfectly on the PC, and I've used commans which the help html for purebasic says are compatible with Windows and Amiga, but I can't find an option to compile to an Amiga exe? And would a compiled Amiga exe work on a bog standard A1200 with 8meg of fast ram? I ask this because my brother wants a copy of my program, but doesn't have a PC. thanks!
amiga support
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
compiler. Then, run the compiler on your Amiga with your source to create
an Amiga executable.
PB - Registered PureBasic Coder
If you're a registered user, you have to E-Mail Fred and request the AmigaI've finished my program at last (thanks to all those that helped!), and have one question - how to I compile it to run on an Amiga?
compiler. Then, run the compiler on your Amiga with your source to create
an Amiga executable.
PB - Registered PureBasic Coder
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by willinyork.
Hi Plouf! I got the Amiga compiler from Fred (I am registered), but it's an LZX archive and my Ami won't unpack it
My source code is about 15k - if I sent it to you, would you be able to do an Amiga compilation of my program? You will get credit of course
Please email me at [url]mailto:q@qlab.swinternet.co.uk[/url] thanks!
Hi Plouf! I got the Amiga compiler from Fred (I am registered), but it's an LZX archive and my Ami won't unpack it


-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fred.
Fred - AlphaSND
Why your Amiga won't unpack the lzx archive ? LZX can be found anywhere on aminet..Hi Plouf! I got the Amiga compiler from Fred (I am registered), but it's an LZX archive and my Ami won't unpack itMy source code is about 15k - if I sent it to you, would you be able to do an Amiga compilation of my program? You will get credit of course
Please email me at [url]mailto:q@qlab.swinternet.co.uk[/url] thanks!
Fred - AlphaSND
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by willinyork.
Hi again! Sorry to keep bothering everyone... I got lzx (plus free official keyfile) from animet ad unpakced the archive. When it comes to compiling the code I wrote on the PC version (bearing in mind I used commands which would work on win AND amiga), it starts to compile and then brings up a requester with an "ok" button (no other text!) and fails to compile, or create an executable. Any ideas? My A1200 is very un-upgraded, so I don;t know whetehr I am missing a library or upgrade or something. Any advice is greatly appreciated. If you want to see the code, I can email it (15k).
Hi again! Sorry to keep bothering everyone... I got lzx (plus free official keyfile) from animet ad unpakced the archive. When it comes to compiling the code I wrote on the PC version (bearing in mind I used commands which would work on win AND amiga), it starts to compile and then brings up a requester with an "ok" button (no other text!) and fails to compile, or create an executable. Any ideas? My A1200 is very un-upgraded, so I don;t know whetehr I am missing a library or upgrade or something. Any advice is greatly appreciated. If you want to see the code, I can email it (15k).
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by plouf.
The code is the same but some minor changes should be made
take a look at the guide for how all command work in amiga
i.e. windows => OpenScreen(640,480,8,"MyScreen")
amigaos => OpenScreen(0,640,480,8,TagListID())
see in amiga you should also init initscreen(#screens)
and inittaglist(#maxnumberoftags) changes needed due to
difference of OSes
btw i do not look at the forum every day (connection/bill problems)
and my e-mail is [url]mailto:rigit@europe.com[/url]
The code is the same but some minor changes should be made
take a look at the guide for how all command work in amiga
i.e. windows => OpenScreen(640,480,8,"MyScreen")
amigaos => OpenScreen(0,640,480,8,TagListID())
see in amiga you should also init initscreen(#screens)
and inittaglist(#maxnumberoftags) changes needed due to
difference of OSes
btw i do not look at the forum every day (connection/bill problems)
and my e-mail is [url]mailto:rigit@europe.com[/url]