Coding on MorphOS 2.0
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1164 from 2003/6/17
    What would be the best compiler to go with? StormC or gcc + GoldED?

    For anyone else that wants to know..

    What other languages work fine under MOS2? (dont care which... sdlbasic, ACE, etc ?)

    I'm interested in RAD so posting something that assists in this would be helpful.

    [ Edited by TheMagicM on 2008/7/14 22:32 ]
  • »15.07.08 - 02:50
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    I doubt if StormC can generate MorphOS native binaries. GCC is the natural choice, as it is delivered in the SDK.
  • »15.07.08 - 06:03
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Krashan

    Sure whenever the SKD 2 is "delivered" lol
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »15.07.08 - 08:57
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    For RAD I suggest to use arexx + rxMUI.
    Rexx is even easier to use than Basic.
    http://de.wikipedia.org/wiki/REXX
    That way your Applications should run on all Amiga-like Operating-Systems.

    Perhaps it would be possible to create a Rexxgenerator for MUIBuilder.

    [ Edited by Wishmaster on 2008/7/15 14:25 ]
    Pegasos PPC
  • »15.07.08 - 13:21
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1329 from 2003/6/16
    magnetic,

    nothing prevents you from using 1.4 SDK which will work just fine for morphos 2. Only Morphos 2 extensions will be missing.
  • »15.07.08 - 14:17
    Profile Visit Website
  • Just looking around
    DamageX
    Posts: 6 from 2008/7/15
    how about VBCC? I just downloaded the archives and ran the install scripts and after some trial&error was able to compile something. I'm pretty pleased considering the only time I used a C compiler was in a class I took ten years ago.
  • »16.07.08 - 06:39
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    koan
    Posts: 303 from 2005/11/21
    From: UK
    vbcc works fine. And if your app is not MorphOS specific you can cross compile to AmigaOS 3/4.

    I am hoping that someone will be kind enough to bundle up all the required libs, tools, GG, etc for the MorphOS SDK 2.0 into one package. At the moment you have to install many different archives to get a complete SDK.
  • »17.07.08 - 13:20
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1192 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    I am hoping that someone will be kind enough to bundle up all the required libs, tools, GG, etc for the MorphOS SDK 2.0 into one package. At the moment you have to install many different archives to get a complete SDK.

    I think the official 1.4 SDK is pretty much "one complete package" (although it does have few separate packages, f.ex. MorphEd is in a separate one, but you can still install them all at once)

    Of course there's always something missing (such as PowerSDL) but it's available separately, and it's updated more often than the official SDK, so you would probably want to install its newest SDK separately anyway.
  • »17.07.08 - 14:36
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1164 from 2003/6/17
    ok, so a definitive answer from a coder on MOS is needed...


    which C/C++ environment is the best to use for MOS specific apps right now?

    vbcc or gcc?



    [ Edited by TheMagicM on 2008/7/17 19:40 ]
  • »18.07.08 - 01:40
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 98 from 2004/6/4
    From: Ivanovo, Russia
    @TheMagicM
    Whatever you want or like.
    WBR, Vladimir Berezenko
  • »18.07.08 - 04:56
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    koan
    Posts: 303 from 2005/11/21
    From: UK
    Quote:

    I think the official 1.4 SDK is pretty much "one complete package"


    There are 6 archive files plus 5 updates (http://developer.morphosppc.com/index.php?mode=files).

    1 archive with 1 installation script is what I'm asking for.
  • »18.07.08 - 05:08
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1192 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    There are 6 archive files plus 5 updates
    1 archive with 1 installation script is what I'm asking for.

    I can't see the big difference between having one package or 6 packages (except for that the big one forces you to download stuff you might not need) - I think it's a good idea to offer at least text editor separately for those, who are not interested in C coding.

    Anyway, if I recall correctly, they can all be installed with one installer, so what's the great big problem?

    Of course the "main" package could be updated whenever there are updates for those, who didn't install the whole thing before.
  • »18.07.08 - 07:54
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    koan
    Posts: 303 from 2005/11/21
    From: UK
    Quote:

    I can't see the big difference between having one package or 6 packages


    6+5 = 11 packages.

    Quote:

    if I recall correctly, they can all be installed with one installer


    You do not recall correctly, you cannot install all 11 packages with one installer. I don't know how but I managed to lose important files during my installation. It's not very convenient to hunt through 11 archives to try to find the missing file.

    Picture this: you install everything but when you try to build something a library or function is missing.
  • »18.07.08 - 11:44
    Profile
  • MorphOS Developer
    Henes
    Posts: 500 from 2003/6/14
    If there are 5 libnix updates, you only need to install the very latest one.
    It contains all the others.
  • »18.07.08 - 17:25
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    koan
    Posts: 303 from 2005/11/21
    From: UK
    Why would you assume they are 5 libnix updates ?

    Did you look at the link I gave ?

    Have you installed the MorphOS SDK ?
  • »19.07.08 - 00:36
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1164 from 2003/6/17
    on MDC I see the following:

    mossdk_base.lha
    mossdk_contributions.lha
    mossdk_devenv.lha
    mossdk_devenv_includes.lha
    mossdk_documentation.lha
    mossdk_install.txt
    mossdk_morphed.lha

    is that all that is required to install?
  • »26.07.08 - 02:39
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    @TheMagicM

    Quote:


    which C/C++ environment is the best to use for MOS specific apps right now?

    vbcc or gcc?



    VBCC is sufficient if you dont need C++. For beginner it is easier to use than GCC although it is not as advanced as GCC. GCC optimizes better and has more options and extensions available.
    1 + 1 = 3 with very large values of 1
  • »26.07.08 - 11:38
    Profile
  • MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    Quote:


    mossdk_base.lha
    mossdk_contributions.lha
    mossdk_devenv.lha
    mossdk_devenv_includes.lha
    mossdk_documentation.lha
    mossdk_install.txt
    mossdk_morphed.lha

    is that all that is required to install?



    That is all. You dont need morphed package if you have other editor available.

    There is also Cubic IDE which has complete MorphOS SDK but it is commercial package.
    1 + 1 = 3 with very large values of 1
  • »26.07.08 - 11:45
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1164 from 2003/6/17
    ok I installed it.. all is well.. thanks!
  • »26.07.08 - 12:50
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2665 from 2006/3/21
    From: Lake Arrowhead...
    Instead of starting a new thread, I am going to hijack this one that has not had any activity for a couple of years.

    Who is interested in learning to program on and for MorphOS2.6, using the MorphOS2.x SDK, or Cubic IDE, or improving their already existing programming skills?

    Who has good C/C++ programming skills and would be willing to suggest programming exercises and/or tutorials for a small group to practice on with limited supervision, question answering and advice/assistance?

    Other members might be interested in learning ARexx/Rexx, or Python, or Hollywood as a starting point, or refresher of skills they already possess. (I don't think AMOS runs on MorphOS2.x, does it? :lol:)

    Include me in any group of members that wish to learn/improve their programming skills. Working in a group should help us maintain momentum and interest to keep going forward.

    Anyone else interested?
    MorphOS - The best Next Gen Amiga choice.
  • »13.10.10 - 10:44
    Profile
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    Who has good C/C++ programming skills and would be willing to suggest programming exercises and/or tutorials for a small group to practice on with limited supervision, question answering and advice/assistance?

    I hope my skills are enough (at least I've written a few tutorials for MorphZone Library...).
  • »13.10.10 - 11:05
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    What a coincidence, I've just replied to a fellow spanish morpher, who has downloaded the SDK, and wants to get started programming. As you might expect, mi aswer to him was useless, of course. I've taken a quick peek at the library, and you'll notice one fault: There's articles about fundamentals of MorphOS, and then, coding for Reggae.

    Where's the in-between? I mean, where can one find an article to get started into C/C++ programming in MorphOS?
  • »13.10.10 - 14:51
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Qu├ębec - Canada
    My memory handler has just send a message to my "web scan task":

    http://www.ezcyberspace.com/mos-dev/tiki-index.php

    Don't forget everyone to update it for SDK 2.0!

    [ Edited by Yomgui on 2010/10/13 18:09 ]
    And now... next project!
  • »13.10.10 - 15:08
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2665 from 2006/3/21
    From: Lake Arrowhead...
    I am aware of the MorphZone Library and many other books and websites that have information on how to get started with C/C++ programming.

    My reason for modifying this thread is to find out who here is interested in learning in a group environment where each member encourages the other members to keep going and where they might even work together on some projects.

    Also, it would be great to have a knowledgeable programmer, (like Krashan, thanks for volunteering) who could answer some questions and offer advice from time to time to keep the group learning in the right direction.

    Edit: I also know that hanging out on IRC where a lot of the MorphOS Developers are is a good place to ask questions, but my aim is to form a small group that will learn together and not bother the MorphOS Dev. Team too often. Just when they have questions that they cannot find the answers to on their own. But the real reason I want to start such a group is because I get distracted easily these days and if I am learning and working with a group that keeps me motivated and asks me to be accountable to the group, I know I will get distracted less often.


    [ Edited by amigadave on 2010/10/13 19:36 ]
    MorphOS - The best Next Gen Amiga choice.
  • »14.10.10 - 01:24
    Profile
  • MorphOS Developer
    stefkos
    Posts: 96 from 2004/2/4
    It's also nice to see new faces who want to create new apps.
    If there will be need I can even share some of my older projects, with help of other people they can be improved/fixed.
  • »14.10.10 - 06:24
    Profile Visit Website