Cross-compiler toolchain
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Hi.

    The cross-compiler utils mentioned here:
    http://library.morph.zone/Developer_tools

    don't seem to be available anymore.
    Anyone knows where to get those?


    Manfred
  • »25.08.17 - 21:25
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    So I found a cross-compiler for macOS here: morph.zone

    But it only has gcc 4.4.5. I'm wondering if there is something newer?


    Manfred
  • »26.08.17 - 07:04
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Hmm. With a macOS toolchain I don't get much further.
    Is there no pre-compiled Linux cross-toolchain?


    Manfred
  • »26.08.17 - 12:50
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Alright, alright. I'm building it.
    I've tried on openSUSE with information found on:
    - http://kas1e.mikendezign.com/morphos/mos_cygwin.txt
    I've pretty much done what's in there, except using the current SDK stuff and the latest "setup-cross-sdk.sh".
    But I'm running into some issues.

    What's the preferred Linux you want to have this built on?

    And to be honest, why is there no pre-built stuff that one can find and use?


    Manfred
  • »26.08.17 - 21:12
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    It's a pitty. Because I'd like to do something useful.
    But I don't want to spend my time on trying to build cross-compiler tools.
    No one?


    Manfred
  • »29.08.17 - 17:46
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 1527 from 2003/3/5
    From: Canada
    Quote:

    asrael22 wrote:
    What's the preferred Linux you want to have this built on?



    My cross-setup runs on Debian8 if I remember right.

    Quote:

    And to be honest, why is there no pre-built stuff that one can find and use?


    I wish I could provide a cross-sdk one day, but I don't currently have the hardware I could comfortably do this on.
  • »31.08.17 - 00:36
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Quote:

    jacadcaps wrote:
    Quote:

    asrael22 wrote:
    What's the preferred Linux you want to have this built on?



    My cross-setup runs on Debian8 if I remember right.



    That's great.

    Quote:

    jacadcaps wrote:
    Quote:

    And to be honest, why is there no pre-built stuff that one can find and use?


    I wish I could provide a cross-sdk one day, but I don't currently have the hardware I could comfortably do this on.

    What do you mean? You don't know how or where to distribute this?


    Manfred

    [ Edited by ASiegel 31.08.2017 - 19:27 ]
  • »31.08.17 - 05:20
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 1527 from 2003/3/5
    From: Canada
    I dont currently have any Intel hw to work on comfortably, that is what I meant.
  • »31.08.17 - 14:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Well, but if you have cross-compiler tools for Debian 8, then put them somewhere to download.
    More people could be interested, so maybe it could be put at morphos-storage?


    Manfred


    [ Edited by asrael22 31.08.2017 - 19:45 ]
  • »31.08.17 - 15:29
    Profile
  • Just looking around
    Posts: 5 from 2015/1/15
    I just compiled current 3.10 SDK with Debian 8 without problems. Using script from http://bigfoot.morphos-team.net/files/setup-cross-sdk.sh

    Make sure you have 32-bit support libraries installed to used Gcc and Gcc is not 'too new'. 'Too new' Gcc probably need some additional cflags to the script. Debian 8 has gcc-4.9 and it worked quite well with script mentioned before.

    Making Debian-package would be better idea than just sharing some non-static binaries without dependencies.
  • »01.09.17 - 02:24
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Quote:

    jvaltane wrote:
    I just compiled current 3.10 SDK with Debian 8 without problems. Using script from http://bigfoot.morphos-team.net/files/setup-cross-sdk.sh

    Make sure you have 32-bit support libraries installed to used Gcc and Gcc is not 'too new'. 'Too new' Gcc probably need some additional cflags to the script. Debian 8 has gcc-4.9 and it worked quite well with script mentioned before.

    Making Debian-package would be better idea than just sharing some non-static binaries without dependencies.


    A tar.gz package which maps into /opt/mos-sdk , or whatever is IMO better than nothing.

    I've tried with openSUSE and ran into a couple of issues.
    But if you say it works smooth on Debian I'll give it try.

    Manfred
  • »01.09.17 - 05:34
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 281 from 2014/6/11
    From: Germany
    Nice.
    Should the cross-toolchain on macOS actually work the same as on Linux or are there any limitations?


    Manfred
  • »09.02.18 - 10:09
    Profile
  • Just looking around
    Marlon
    Posts: 5 from 2018/2/9
    From: Sweden
    Quote:

    asrael22 wrote:
    Nice.
    Should the cross-toolchain on macOS actually work the same as on Linux or are there any limitations?


    Manfred

    It's a bit of a rework of http://bigfoot.morphos-team.net/files/setup-cross-sdk.sh to automate the install a bit. So far I've only tried it on Linux. Feel free to try it out on Mac and let me know if it works. :)
  • »09.02.18 - 12:02
    Profile Visit Website