Howto compile GCC
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    BigGun
    Posts: 150 from 2004/6/18
    From: Nagold - Germany
    I'm trying to compile GCC for MorphOS.

    Can someone put the light in this and please be so kind
    to give clear instructions how this can be done.

    I tried to compile GCC 3.4.6 on MOS but the make for hours and then ran out of memory (512MB installed)


    Any help is highly appreciated

    Cheers
    Gunnar
  • »22.04.06 - 10:48
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    BigGun
    Posts: 150 from 2004/6/18
    From: Nagold - Germany
    Are these instruction for compiling GCC on MOS or for compiling GCC on Linux?
  • »22.04.06 - 13:14
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    BigGun
    Posts: 150 from 2004/6/18
    From: Nagold - Germany
    They do not work - at least for me.


    On MOS the compile does not work.
    At least GCC 3.4.6 does NOT compile with this.
    The compile starts but MOS frezes during the compile.


    On linux (debian PPC) I'm running into problems too.
    First I compiled bin-utils with --target=ppc-elf
    then I tried compiling GCC (3.4.6) with ./configure --prefix=/gg --enable-languages='c,c++' --target=ppc-elf & make

    First it looks good but after a while I get:
    configure: error: No support for this host/target combination.
    make: *** [configure-target-libstdc++-v3] Error 1


    Any help is appreciated.
    Maybe someone can give some clear, working instructions?

    Cheers
    Gunnar
  • »22.04.06 - 17:34
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    C64Days
    Posts: 103 from 2006/2/27
    From: Italy
    Are you using plain unpatched SDK or the CISC patched one?
    Anyway you may have better luck asking on Morphos Developer
    Connection forums (link below, registration required) than here:

    http://developer.morphosppc.com/
  • »22.04.06 - 19:00
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    BigGun
    Posts: 150 from 2004/6/18
    From: Nagold - Germany
    Is here or on developer no MorphOS developer who can help?

    What can I do to make a MOS developer helps me with this?


    Maybe it helps if I sing you a song?

    "Gimme GCC , Jo'anna
    GCC, Jo'anna
    Gimme GCC, Jo'anna
    'So that I can port some apps
    Gimme GCC, Jo'anna
    GCC, Jo'anna
    GCC to port some professional apps."


    *lookingatyouandhopingforhelp* :-)
  • »24.04.06 - 10:19
    Profile Visit Website
  • Butterfly
    Butterfly
    munk
    Posts: 94 from 2006/3/27
    Quote:

    BigGun wrote:
    Is here or on developer no MorphOS developer who can help?

    Try --target=ppc-elf32 or disable C++ (--eanble-languages=c)
  • »26.04.06 - 08:02
    Profile