Can we compile/build minix under linux? - Minix

This is a discussion on Can we compile/build minix under linux? - Minix ; Has anyone successed?...

+ Reply to Thread
Results 1 to 11 of 11

Thread: Can we compile/build minix under linux?

  1. Can we compile/build minix under linux?

    Has anyone successed?


  2. Re: Can we compile/build minix under linux?

    On Aug 20, 4:48 am, Xie Yubo wrote:
    > Has anyone successed?


    I'm trying too, but no success. Can anybody help us?


  3. Re: Can we compile/build minix under linux?

    To compile minix you need ACK - Amsterdam Compiler kit.
    I don't think this works under linux. So to build minix
    you need minix.

    - Ameya.

    On Aug 21, 3:10 pm, Bruno wrote:
    > On Aug 20, 4:48 am, Xie Yubo wrote:
    >
    > > Has anyone successed?

    >
    > I'm trying too, but no success. Can anybody help us?




  4. Re: Can we compile/build minix under linux?

    Ameya wrote:
    > To compile minix you need ACK - Amsterdam Compiler kit.
    > I don't think this works under linux. So to build minix
    > you need minix.
    >



    Hello? So which came first.....Minix, or Minix?

  5. Re: Can we compile/build minix under linux?

    > > To compile minix you need ACK - Amsterdam Compiler kit.
    > > I don't think this works under linux. So to build minix
    > > you need minix.

    >
    > Hello? So which came first.....Minix, or Minix?


    Well, certainly there must exist (or have existed) an operating system
    that has been created without having been built from another one. The
    same goes for compilers. To bootstrap such a first operating system or
    compiler someone must have manually built it.

    I suppose that either earlier versions of Minix were compiable from a
    non-ACK compiler, or that earlier versions of ACK ran on other
    platforms. This ability probably became useless after the system had
    been bootstrapped, and was lost because either the compatibility was
    not maintained or the origininal system become unavailable.

    If you got this original system and all intermediate versions of the
    ACK and Minix code you could probably repeat the process to get Minix 3
    built from another system, but i highly doubt it would be worth the
    effort.

    Besides Minix certainly came before Linux, so ability for
    cross-compiling from Linux wouldn't have helped for bootstrapping.

  6. Re: Can we compile/build minix under linux?

    In article ,
    Barnacle Bill the Sailor wrote:
    >Ameya wrote:
    >> To compile minix you need ACK - Amsterdam Compiler kit.
    >> I don't think this works under linux. So to build minix
    >> you need minix.

    >
    >Hello? So which came first.....Minix, or Minix?


    Minix was originally cross compiled (under PC/IX). But that capability was
    lost a long time ago.

    Getting Minix to cross compile under Linux is probably not that tricky
    for someone experienced in that area. But it will be a lot of work.
    (I used to cross compile Minix under SunOS)



    --
    That was it. Done. The faulty Monk was turned out into the desert where it
    could believe what it liked, including the idea that it had been hard done
    by. It was allowed to keep its horse, since horses were so cheap to make.
    -- Douglas Adams in Dirk Gently's Holistic Detective Agency

  7. Re: Can we compile/build minix under linux?

    Philip Homburg wrote:
    > In article ,
    > Barnacle Bill the Sailor wrote:
    >> Ameya wrote:
    >>> To compile minix you need ACK - Amsterdam Compiler kit.
    >>> I don't think this works under linux. So to build minix
    >>> you need minix.

    >> Hello? So which came first.....Minix, or Minix?

    >
    > Minix was originally cross compiled (under PC/IX). But that capability was
    > lost a long time ago.
    >
    > Getting Minix to cross compile under Linux is probably not that tricky
    > for someone experienced in that area. But it will be a lot of work.
    > (I used to cross compile Minix under SunOS)
    >
    >
    >



    Murky issues, I was thinking of downloading the Darwin source and
    compiling that, but see that it may be fraught with trouble. Ah well,
    it's no doubt huge anyway, it took two hours last night just to compile
    GCC 4.2, with GCC 4.1, ya know... so there again my question...Where did
    this begin? But this time I am rhetorical.

  8. Re: Can we compile/build minix under linux?

    I want to recompile minix under linux with gcc/g++ and nasm. Does it
    make sense?

    On Aug 23, 3:37 am, phi...@ue.aioy.eu (Philip Homburg) wrote:
    > In article ,
    > Barnacle Bill the Sailor wrote:
    >
    > >Ameya wrote:
    > >> To compile minix you need ACK - Amsterdam Compiler kit.
    > >> I don't think this works under linux. So to build minix
    > >> you need minix.

    >
    > >Hello? So which came first.....Minix, or Minix?

    >
    > Minix was originally cross compiled (under PC/IX). But that capability was
    > lost a long time ago.
    >
    > Getting Minix to cross compile under Linux is probably not that tricky
    > for someone experienced in that area. But it will be a lot of work.
    > (I used to cross compile Minix under SunOS)
    >
    > --
    > That was it. Done. The faulty Monk was turned out into the desert where it
    > could believe what it liked, including the idea that it had been hard done
    > by. It was allowed to keep its horse, since horses were so cheap to make.
    > -- Douglas Adams in Dirk Gently's Holistic Detective Agency




  9. Re: Can we compile/build minix under linux?

    In article <1187857994.738628.34690@x35g2000prf.googlegroups.c om>,
    wrote:
    >I want to recompile minix under linux with gcc/g++ and nasm. Does it
    >make sense?


    From a technical point of view it is no problem (Minix-vmd can be compiled
    using gcc, I don't know about about the differences between gas and nasm.
    Cross compiling is just fixing lots of small details).

    However, compared to just compiling under Minix (either in VMware/Qemu or
    on a separate box) it strikes me as a waste of time.


    --
    That was it. Done. The faulty Monk was turned out into the desert where it
    could believe what it liked, including the idea that it had been hard done
    by. It was allowed to keep its horse, since horses were so cheap to make.
    -- Douglas Adams in Dirk Gently's Holistic Detective Agency

  10. Re: Can we compile/build minix under linux?


    'philip AT ue DOT aioy DOT eu (Philip Homburg)' wrote:

    > However, compared to just compiling under Minix (either in VMware/Qemu or
    > on a separate box) it strikes me as a waste of time.


    I'd like to contradict here: If Minix really strives for the embedded
    market. cross compilation (either from Linux or from Minix) is
    essential (the target system might not be able to host a full build
    system). It might also not be possible (for political resaons re
    security, patches, but also for supporting a built infra structure
    like version control with a proprietary system or one just not yet
    ported) to set up a Minix built host. In all these case supporting
    cross compilation from "popular systems" like Windows or Linux might
    be essential or at least bring down the entry barrier.

    Regards -- Markus




  11. Re: Can we compile/build minix under linux?

    There are some things I love about minix and then there are some things I don't like.
    Like
    It is small and easy to understand.
    It is well documented
    Do not like
    The minix comunity can't decide which compiler to use. A lot of the make files do not work with ACK. And tweeks are needed for GCC or NASM. If the code is to compile with GCC then tweeks should not be needed and GCC should be installed on the distro ISO and not cc for ACK. For students compiling minix should be a must. But the compiling should be straight forward and the make files should work with the installed compiler.
    Tom

+ Reply to Thread