A good Windows to MorphOS gcc cross compiler.
  • Butterfly
    Butterfly
    dekanyz
    Posts: 94 from 2013/2/6
    From: Hungary
    This one?
    http://amidevcpp.amiga-world.de/
  • »03.12.13 - 14:00
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    You can install a cross-compiler on cygwin, I have installed MorphOS cross-compiler on Linux using this instructions for cygwin, so it should work for cygwin on Windows.

    AmiDevCpp, which is based in cygwin, breaks your current cygwin installation. If you need cygwin in your system, this solution is a good alternative for Amidevcpp.

    [ Edited by BalrogSoft 03.12.2013 - 15:35 ]
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »03.12.13 - 14:34
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    The guy I'm asking for claims that the MorphOS cross compiler is very outdated and doesn't support some c++ stuff he uses. Which is the reason his program is currently only supported för AOS 4 (that has a newer gcc compiler). Without a newer compiler for MorphOS, he can't support it.
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »04.12.13 - 12:23
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    Quote:

    the MorphOS cross compiler is very outdated and doesn't support some c++ stuff


    I'm not an expert with gcc, but this affirmation doesn't make sense, which kind of "c++ stuff" really needs? Because last version of AmigaOS SDK comes with GCC 4.2.4, and with the instructions I have posted before, you can compile with gcc 4.4.5.
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »04.12.13 - 13:17
    Profile Visit Website
  • Butterfly
    Butterfly
    MaaG
    Posts: 86 from 2003/7/22
    From: Pilzno, Poland
    Quote:

    BalrogSoft wrote:
    You can install a cross-compiler on cygwin, I have installed MorphOS cross-compiler on Linux using this instructions for cygwin, so it should work for cygwin on Windows.

    AmiDevCpp, which is based in cygwin, breaks your current cygwin installation. If you need cygwin in your system, this solution is a good alternative for Amidevcpp.


    I used CodeBlock as crosscompiler for Morphos/Aros on Windows (with crosscompiler from AmiDevCpp and it works too)
  • »04.12.13 - 15:47
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    AFAIK the only MorphOS compiler included with AmiDevC++ is GCC 2.95. His best bet is following Kas1e's instructions, and build the compiler himself.
    This is just like television, only you can see much further.
  • »04.12.13 - 16:43
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Quote:


    Bad luck for MorphOS:
    I can compile through everything now (even 0 warnings ;) ) but when it comes to linking we go a bad surprise:

    On MorphOS OpenAL (the sound-library) depends on PowerSDL. And this again is based on SDL1. And that again means:

    no MorphOS version because AFAIK SDL1 has licence restrictions when it comes to selling (closed source) stuff.

    Overcoming this issue would mean to essentially write my own OpenAL implementation based on AHI. And that's something I REALLY have no time for at the moment :P



    Quote:


    Ah, no, I just checked the licence:
    can be used if I dont link statically. Well. But nevertheless:
    pretty dumb that MorphOS OpenAL depends on that. So I have to include SDL for nothing :P



    Quote:


    Hm, but apparently OpenAL requires a static link of SDL on MorphOS?!
    Well, then it's a no-go again :P



    Ideas?
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »05.12.13 - 14:13
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    I made a new port of OpeanAL because of this, I'll upload it to my website including the source.

    edit: http://bszili.morphos.me/ports/openal-mos.lha
    It's based on the AROS port, which is in turn based on the AmigaOS4. I think I fixed the wave writer in this one, but don't quote me on that.

    [ Edited by BSzili 05.12.2013 - 15:58 ]
    This is just like television, only you can see much further.
  • »05.12.13 - 14:48
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    The programmer wants to thank BSzili for the program and says that his program has finally been able to compile for MorphOS :-)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »05.12.13 - 16:38
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    Yay! Is there any public info on what this program will be?
    This is just like television, only you can see much further.
  • »05.12.13 - 16:54
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @BSzili

    Not yet. But when/if this program works as it should it will get an official release. I'll just add that it was originally being made for AmigaOS 4 (plus some mainstream systems) and now it might get an MorphOS release as well :-)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »05.12.13 - 17:11
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Yasu wrote:
    Quote:

    no MorphOS version because AFAIK SDL1 has licence restrictions when it comes to selling (closed source) stuff.


    Another OS4 developer making commercial software from GPL code?

    I never saw that one coming! ;)

    [ Edited by Intuition 05.12.2013 - 17:43 ]
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »05.12.13 - 17:42
    Profile
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    SDL never was GPL.
    SDL 1 uses the LGPL.
    SDL 2 uses the zlib license.
  • »05.12.13 - 18:10
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Daytona675x
    Posts: 109 from 2013/12/5
    @BalrogSoft and @BSzili

    Many thanks for your help! Compiles, links and crashs like a charm now :)

    @Intuition
    Quote:

    Another OS4 developer making commercial software from GPL code?

    ? I don't get your point.
    Didn't I make clear that I don't want to use SDL? And that if I had to I'd skip MorphOS-versions?
    Anyway, even if I had to use it, that would still be okay if I'd link dynamically.

    Cheers,
    Daniel
  • »05.12.13 - 18:15
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Humm... OpenAL was ported to MorphOS 10 years ago. Likely OS4 port is based on this one and MorphOS port has not been maintained for ages. Good to have it back.

    And by the way there is no static SDL for MorphOS. It is always shared. When you link against libSDL.a it just includes routines to open and close SDL libraries automagically and auto generated stubs. Maybe old OpenAL port had relation to SDL, I don't know. but whenever you link against libSDL.a in MorphOS you are always using shared library.

    Just to let you know :)
    1 + 1 = 3 with very large values of 1
  • »05.12.13 - 18:30
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    @Henes & Daytona675x

    I know, I was being sarcastic, couldn't resist the urge.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »05.12.13 - 19:29
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > Is there any public info on what this program will be?

    http://amigaworld.net/modules/news/article.php?storyid=6919#91620
    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38376&forum=16#721546
    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38078&forum=32&start=40#721636
  • »05.12.13 - 19:50
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > it was originally being made for AmigaOS 4 (plus some mainstream systems)

    Yes, the Amiga could indeed be considered a mainstream system in 1989 ;-)
  • »05.12.13 - 19:59
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Andreas_Wolf,
    Quote:

    > Is there any public info on what this program will be?

    http://amigaworld.net/modules/news/article.php?storyid=6919#91620
    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38376&forum=16#721546
    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38078&forum=32&start=40#721636



    In this case, actually no :-D

    [ Edited by Yasu 05.12.2013 - 21:22 ]
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »05.12.13 - 20:20
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    >>> Is there any public info on what this program will be?

    >> http://amigaworld.net/modules/news/article.php?storyid=6919#91620
    >> http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38376&forum=16#721546
    >> http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38078&forum=32&start=40#721636

    > In this case, actually no :-D

    You mean it won't be the program that is discussed in those threads?
  • »05.12.13 - 20:28
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @Andreas_Wolf

    I haven't read the threads that well but if you are referring to Battle Squadron then no. But I have asked him to consider it if this port works. Let's hope for a yet :-)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »05.12.13 - 21:02
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > if you are referring to Battle Squadron

    Yes, the threads I linked to are about the OS4 version of Battle Squadron.

    > then no.

    Oh, pity. I thought the program in question must be Battle Squadron because the latter "is currently only supported for AOS 4" (at least as far as NG Amiga-like OS go), "was originally being made for AmigaOS 4 (plus some mainstream systems)" (meaning iOS, Android, MacOSX and Windows), is about "selling (closed source) stuff" and has been developed/ported by Daniel "Daytona675x" Müßener.
    Well, sorry for assuming wrongly. Must be something unreleased then. At least we know it's a game:

    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=38263&forum=15#719078

    :-)
  • »05.12.13 - 21:46
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @Andreas_Wolf

    Well, it's not that game (good programmers shouldn't limit themselves!) but since it's the same programmer it would mean that if he gets one working there is little reason not to get the other working either. Right? ;-)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »05.12.13 - 21:57
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > since it's the same programmer it would mean that if he gets one working there is
    > little reason not to get the other working either. Right? ;-)

    So it's this one then? Never mind, I think I'll stop my shooting in the dark now ;-)
  • »05.12.13 - 22:27
    Profile