• Re: MiNT cross-compiler

    From =?UTF-8?B?TWlybyBLcm9ww6HEjWVr?=@21:1/5 to Thorsten Glaser on Tue May 23 13:10:01 2023
    Hi,

    I've been wondering, what happened to all of this? I've seen another
    Thorsten email a while later proposing to merge those changes but looking
    at https://tracker.debian.org/pkg/gcc-4.6 it would seem that all of this
    effort is gone? Or is this mint cross compiler accessible in debian
    somehow? (except adding Vincent's PPA of course).

    Cheers,
    Miro

    On Wed, 2 May 2012 at 19:26, Thorsten Glaser <tg@mirbsd.de> wrote:

    Hi Vincent,

    I thought you’d appreciate a progress mail.

    For now, I’ve built binutils and gcc-4.6 with your patches (applied liberally rather than literally as I mailed you) and got the dpkg
    maintainer to add mint-m68k as a Debian architecture (patch also
    applied locally). I’ve built gcc-4.6 as a DEB_STAGE=stage1 compiler,
    that is, without a C library or header files, but self-contained.

    Vincent Rivière dixit:

    What components do you use in your Debian distribution, in order to
    rebuild the
    atari-bootstrap package? The full MiNT toolchain (binutils + GCC +
    MiNTLib +

    For now I’m doing without mintlib; my next step is to see whether
    that is actually enough to build atari-bootstrap or whether I have
    to package mintlib, or rather, what we need from it, for Debian as
    well. (I looked at your packages, but would prefer to do things in
    a more Debian way. No criticism, for a private repository they are
    good enough.) If so, I’ll update the gcc patch to build without
    DEB_STAGE set. Once I’ve had success, I’ll feed back the patches
    to the respective Debian package maintainers. Independent of whether atari-bootstrap needs mintlib, if I get bored I may port enough to
    get a hello world programme running on MiNT (or even TOS?) on ARAnyM,
    so the gcc maintainer can’t complain about the incompleteness of my
    patches ;-)

    This will take me some time, though; the m68k work has “idle priority” for me, i.e. I’m doing it when nothing else pops up, and to educate
    myself further (about m68k, Debian, porting, and other unixoid OSes).

    PML)?

    What is PML? Your page only mentions a link to ftp.funet.fi which
    is pretty much saying nothing.

    Unfortunately, at the current time I do not know whether the climate
    in Debian would be welcoming to a full FreeMiNT (cross-built) develop-
    ment suite (there is precedent for a MinGW one though). But indepen-
    dent of that, my changes (especially the dpkg one) would help people reactivating “Debian GNU/MiNT”, which ragnar76 hinted at. (It’s at http://web.archive.org/web/20080517034704/http://debian-mint.nocrew.org/
    now, since all the Debian-related m68k stuff seems to have been thrown
    away from nocrew at some point.) From what I’ve seen so far, doing it
    would be relatively easy with those patches and what I’ve invested into Debian proper until now, just time-consuming.

    bye,
    //mirabilos
    --
    “It is inappropriate to require that a time represented as
    seconds since the Epoch precisely represent the number of
    seconds between the referenced time and the Epoch.”
    -- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2


    --
    To UNSUBSCRIBE, email to debian-68k-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact
    listmaster@lists.debian.org
    Archive: http://lists.debian.org/Pine.BSM.4.64L.1205021705280.4041@herc.mirbsd.org



    --
    http://mikro.atari.org

    <div dir="ltr"><div>Hi,</div><div><br></div><div>I&#39;ve been wondering, what happened to all of this? I&#39;ve seen another Thorsten email a while later proposing to merge those changes but looking at <a href="https://tracker.debian.org/pkg/gcc-4.6">
    https://tracker.debian.org/pkg/gcc-4.6</a> it would seem that all of this effort is gone? Or is this mint cross compiler accessible in debian somehow? (except adding Vincent&#39;s PPA of course).</div><div><br></div><div>Cheers,</div><div>Miro</div><br><
    div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 May 2012 at 19:26, Thorsten Glaser &lt;<a href="mailto:tg@mirbsd.de">tg@mirbsd.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px
    solid rgb(204,204,204);padding-left:1ex">Hi Vincent,<br>

    I thought you’d appreciate a progress mail.<br>

    For now, I’ve built binutils and gcc-4.6 with your patches (applied<br> liberally rather than literall
  • From John Paul Adrian Glaubitz@21:1/5 to All on Tue May 23 13:40:01 2023
    Hi Miro!

    On Tue, 2023-05-23 at 13:07 +0200, Miro Kropáček wrote:
    I've been wondering, what happened to all of this? I've seen another
    Thorsten email a while later proposing to merge those changes but
    looking at https://tracker.debian.org/pkg/gcc-4.6 it would seem that
    all of this effort is gone? Or is this mint cross compiler accessible
    in debian somehow? (except adding Vincent's PPA of course).

    It should be available through snapshot.debian.org [1].

    However, I think it would be more reasonable to get those patches either upstreamed into GCC or LLVM which both support the m68k architecture
    these days.

    Adrian

    [1] http://snapshot.debian.org/

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thorsten Glaser@21:1/5 to All on Tue May 23 21:10:01 2023
    John Paul Adrian Glaubitz dixit:

    Hi Miro!

    Please do not use Googlemail when attempting to collaborate with
    OSS maintainers. I don’t know whether you will get this eMail from
    me but I will almost certainly not get your response, and Google
    are fully to blame for that.

    On Tue, 2023-05-23 at 13:07 +0200, Miro Kropáček wrote:
    I've been wondering, what happened to all of this? I've seen another

    It should be available through snapshot.debian.org [1].

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632380
    has been merged in 4.6.1-2, that was the general m68k one.

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694112
    was merged in 4.6.3-15, that was the stage1 cross-compiler
    build. So everything I did is available on snapshot.d.o.
    It also explains why more than a stage1 isn’t possible with
    Debian’s current layout for GCC packages.

    However, I think it would be more reasonable to get those patches either >upstreamed into GCC or LLVM which both support the m68k architecture
    these days.

    You will have to talk with Vincent about that.

    bye,
    //mirabilos
    --
    Stéphane, I actually don’t block Googlemail, they’re just too utterly stupid to successfully deliver to me (or anyone else using Greylisting
    and not whitelisting their ranges). Same for a few other providers such
    as Hotmail. Some spammers (Yahoo) I do block.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eero Tamminen@21:1/5 to John Paul Adrian Glaubitz on Wed May 24 18:20:01 2023
    Hi,

    On 23.5.2023 14.34, John Paul Adrian Glaubitz wrote:
    On Tue, 2023-05-23 at 13:07 +0200, Miro Kropáček wrote:
    I've been wondering, what happened to all of this? I've seen another
    Thorsten email a while later proposing to merge those changes but
    looking at https://tracker.debian.org/pkg/gcc-4.6 it would seem that
    all of this effort is gone? Or is this mint cross compiler accessible
    in debian somehow? (except adding Vincent's PPA of course).

    It should be available through snapshot.debian.org [1].

    However, I think it would be more reasonable to get those patches either upstreamed into GCC or LLVM which both support the m68k architecture
    these days.

    Atari MiNT "a.out" format support would also be needed in "binutils".

    While there are newer GCC versions for MiNT provided by different
    individuals, Debian packages remained at v4.x. AFAIK GCC 4.x is used
    for those because it generates best m68k code when one considers the
    size of the generated code vs. its performance.

    (Choices done for optimizations in non-HW dependent parts of later GCC
    versions favor more modern CPUs with larger caches and more RAM in
    general, than typical m68k machines have.)

    I.e. newer GCC versions are useful for MiNT mainly due to their support
    for newer C++ versions.


    - Eero

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eero Tamminen@21:1/5 to John Paul Adrian Glaubitz on Fri May 26 13:00:01 2023
    Hi,

    On 24.5.2023 19.19, John Paul Adrian Glaubitz wrote:
    On Wed, 2023-05-24 at 19:11 +0300, Eero Tamminen wrote:
    Atari MiNT "a.out" format support would also be needed in "binutils".

    a.out support was removed in binutils, so you will have to use something
    like elf2aout.

    While there are newer GCC versions for MiNT provided by different
    individuals, Debian packages remained at v4.x. AFAIK GCC 4.x is used
    for those because it generates best m68k code when one considers the
    size of the generated code vs. its performance.

    Did you try LLVM for m68k?

    No, but there would not be much point yet. LLVM m68k port is still experimental and AFAIK missing too many features to be a GCC replacement
    (e.g. support for pc-relative addressing mode and coldfire).


    - Eero

    (Choices done for optimizations in non-HW dependent parts of later GCC
    versions favor more modern CPUs with larger caches and more RAM in
    general, than typical m68k machines have.)

    I.e. newer GCC versions are useful for MiNT mainly due to their support
    for newer C++ versions.

    Yes, indeed.

    Adrian


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)