![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Sep 2007
Location: Tampere / Finland
Posts: 118
|
GCC and ixemul.library
What tools are current for developing or porting applications for classic Amigas using gcc and ixemul.library? Is there something to replace the Geek Gadgets compilation of old?
The latest GG snapshot at back2roots.org is from 1998, but I notice that the latest ixemul.library at amiga.sf.net is from May this year and still expects a GG: assign, so GG isn't completely dead and forgotten. Some other components may also have updated ports in places, but I don't know how well they work together and hunting them down individually would be a chore. |
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jan 2010
Location: Kansas
Posts: 205
|
Quote:
http://sun.hasenbraten.de/vbcc/ It has an ixemul/libnix POSIX library that's been updated fairly recently. If you need anything fixed send Frank Wille (Vasm/PhxAss author) an email ... http://aminet.net/dev/c/vbcc_PosixLib.lha Vbcc keeps getting better. It's very usable and easy to get started unlike the GCC mega installation. Many people still use SASC as well. VBCC Good: easy install, portable, supported, small, above average code Bad: slow, missing some tools GCC 2.95.3 Good: good code, portable, fairly fast Bad: install hell, no support, not very compatible with newer GCC GCC 3.4.0 Good: more modern GCC support, portable, average code Bad: install hell, no support, worse code than 2.95.3 SAS/C (Lattice C) Good: fast, lots of tools (good debugger), polished, above average code Bad: not portable, no support, not easy to use, old |
|
|
|
|
|
|
#3 | ||
|
Registered User
Join Date: Nov 2009
Location: Herford / Germany
Posts: 264
|
Yes, indeed!
![]() In fact -noixemul prevents using of ixemul.library, which is recommended when you can afford it. With ixemul.library your programs become an alien on any AmigaOS system. It will behave like a Unix program and uses all sorts of strange assignments for simulate such a system. When possible, you should invest some extra effort to make a real Amiga port. When you absolutely need ixemul, because of the high complexity of the port, make sure not to use any hacks after the last official ixemul V48. Quote:
Quote:
|
||
|
|
|
|
|
#4 |
|
Registered User
Join Date: Sep 2007
Location: Tampere / Finland
Posts: 118
|
Thank you both for your insights.
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 2,335
|
Hiya,
I'm currently coding a port using gcc v2.95.3 and if I use Libnix it crashes so I have to use ixemul.library, haven't found out why yet ![]() Maybe I should give vbcc a try instead.... |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 157
|
Dear all,
I am trying to compile thttpd (from Aminet) for my Amiga 1200 on Cygwin, I am facing a compatibility problem between "sys/timer.h" that define "struct timezone {...}" as and the expected "time_t timezone" by thttpd. Could anyone help me or point me towards useful ressources? I have been looking on the Web and found several pages but I am a newbie and no page really helped me. Best! PS. I am on Windows 7, using Cywin, gcc 3.4.4, installed includes and all found at http://www.zerohero.se/cross/os3.html
__________________
Tygre -- "I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die." Roy Batty - Blade Runner |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 2,335
|
Hiya,
Have you tried AmiDevCPP yet? It's a pre-configured setup so it's a lot easier to do stuff. |
|
|
|
|
|
#8 | |
|
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 1,148
|
Quote:
__________________
Programmer, Amigan Software |
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 157
|
@NovaCoder and Minuous
No, haven't tried yet because I need Cygwin to work and the install warns me that installing AmiDevC++ will change/corrupt (it is unclear to me ) my installed Cygwin... and, yes, using GCC gives a headache but it's cool ![]() I'll keep you posted on my findings! Cheers!
__________________
Tygre -- "I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die." Roy Batty - Blade Runner |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 157
|
Hi all!
I managed to compile PHP v4.2.3 on Cywin for m68k-amigaos :-) I am putting together a Web page to detail all the steps but, before putting that one on-line and uploading the compiled version into Aminet, I want to make sure that all the PHP tests run... Cheers!
__________________
Tygre -- "I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die." Roy Batty - Blade Runner |
|
|
|
|
|
#11 |
|
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 2,335
|
Cool well done.
Something I tried to setup (and failed!) was to use C++ Eclipse IDE on Windows using mingw. If someone could get that working it would be a great way to write 68k for classics using gcc. This thread should really be moved to the coding section BTW, way too boring for most people to read ![]() |
|
|
|
|
|
#12 |
|
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 8,696
|
|
|
|
|
|
|
#13 | ||
|
Registered User
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 157
|
Quote:
- Eclipse with Cygwin GCC - Eclipse CDT with Cygwin GCC: automatic discovery of symbols and paths Quote:
Cheers!
__________________
Tygre -- "I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die." Roy Batty - Blade Runner |
||
|
|
|
|
|
#14 |
|
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 2,335
|
Yep I tried those pages but still failed to get it working (lack of brain power).
![]() |
|
|
|
|
|
#15 |
|
Registered User
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 157
|
Same here!
![]() Still cannot figure out how to tell Eclipse to use m68k-amigaos-gcc... but will keep trying!
__________________
Tygre -- "I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die." Roy Batty - Blade Runner |
|
|
|
|
|
#16 |
|
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 2,335
|
|
|
|
|
|
|
#17 |
|
Registered User
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 157
|
Hi NovaCoder!
Great catch! Indeed it works on a simple code, let's try now on complicated stuff... One thing though that I (currently) do not understand and how does Eclipse magically generate the makefiles... Cheers! Tygre
__________________
Tygre -- "I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die." Roy Batty - Blade Runner |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trying to use a library in StromC V4 (default gcc compiler) | NovaCoder | Coders. General | 3 | 09 September 2009 01:38 |
| version 47 of ixemul..anyone? | Welshieinnz | request.Apps | 3 | 24 July 2007 11:31 |
| m4-1.4.2 for classic AmigaOS (not using IXemul) | Paul | News | 1 | 24 October 2004 21:01 |
| Making a shared library from a gcc .a library | JoJo | Coders. General | 1 | 10 March 2003 19:06 |