sdk update with CubicIDE
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2092 from 2003/6/4
    So I finally downloaded the current sdk. But how to set it up when CubicIDE is already installed?I did a simple try by just disassigning gg: and installing it with the installer. Installation itself went without probs, but then trying a hello world example with gcc failed (gg: is assigned to the new sdk (:Cubic IDE/ide/devkits/sdk/morphos/Development/GG)).

    gcc -o ram:hello ram:hello.c
    gcc: error trying to exec 'cc1plus': execvp: No such file or directory
    ld: cannot open crt0i.o: No such file or directory

    Example still works when gg: is assigned to the path where the cubic installation put gcc to (:Cubic IDE/ide/devkits/compilers/gcc/morphos/2.95.3).

    And about how to integrate the current sdk to Cubic I don't have the slightest clue... Does it work similar to what is described how to set up the sdk with CubicIDE for OS4?

    Hints/suggestions highly appreciated.
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »24.11.10 - 13:17
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3332 from 2003/3/5
    From: Canada
    The SDK assigns must obviously be preserved, otherwise the whole thing falls apart. To integrate it with CubicIDE you should *probably* just remove its original bins and replace them with softlinks to SDK:GG/Bin. I'd say installing the SDK inside CubicIDE directory isn't the best idea.

    If you could do a
    Code:
    list all >list.txt

    in CubicIDE: and sent me the file I could try writing a script that'd automate this.

    [ Edited by jacadcaps on 2010/11/24 18:54 ]

    [ Edited by jacadcaps on 2010/11/24 18:55 ]
  • »24.11.10 - 15:51
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2092 from 2003/6/4
    Quote:


    jacadcaps schrieb:
    The SDK assigns must obviously be preserved, otherwise the whole thing falls apart. To integrate it with CubicIDE you should *probably* just remove its original bins and replace them with softlinks to SDK:GG/Bin. I'd say installing the SDK inside CubicIDE directory isn't the best idea.

    If you could do a
    Code:
    list all >list.txt

    in CubicIDE: and sent me the file I could try writing a script that'd automate this.



    I just removed the newly installed drawer "develoment" from cubic: to make it clean again and did a list all files then. I also included s:user-startup where Cubic does several assigns.
    The list and user-startup I put to: http://www.via-altera.de/temp/cubic_info.lha
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »24.11.10 - 18:02
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Crumb
    Posts: 737 from 2003/2/24
    From: aGaS & CUAZ Al...
    I wish MorphEd was more similar to UltraEdit with column mode, line number markers at the left, integrated Diff that allows jumping to the line you choose, replace option for various files, possibility of choosing a private screen, standard MUI gadgets, possibility of using standard amiga shortcuts like rAmiga+x/c/v in program windows (ATM you can't paste stuff inside search window using rAmiga+v). Some of these small problems like "Diff" could be fixed using 3rd party apps and some ARexx scripting but MorphEd feels a little incomplete.
  • »24.11.10 - 18:03
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3332 from 2003/3/5
    From: Canada
    MorphED is a dead project basically. Hopefully we'll be able to replace it soon.
  • »24.11.10 - 19:25
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3332 from 2003/3/5
    From: Canada
    @Zylesea:

    Hard to say what the CubicIDE setup does in user-startup...

    Anyway, it looks to me like you should just go to ide/devkits/compilers/gcc/morphos/, rename 2.95.3 to 2.95.3_old and make a softlink: makelink fullpath:to/cubic/ide/devkits/compilers/gcc/