#100 uname

closed-rejected
2002-06-03
2002-01-08
No

Here's source for an uname.exe that lets the latest
config.guess recognize MinGW.

I suggest including either this or an equivalent in the
basic MinGW package.

Discussion

  • Kai Henningsen

    Kai Henningsen - 2002-01-08

    uname.c

     
  • Earnie Boyd

    Earnie Boyd - 2002-01-08
    • assigned_to: nobody --> earnie
    • status: open --> closed-rejected
     
  • Earnie Boyd

    Earnie Boyd - 2002-01-08

    Logged In: YES
    user_id=15438

    The uname function is supplied via the MSYS (Minimal SYStem) and a separate function isn't necessary. Also, if
    not using MSYS when configuring you can also specify the host, build and target on the command line so that
    config.guess isn't even invoked.

    However, I thank you for your interest in the MinGW project and look forward to more contributions from you.

    Earnie.

     
  • Kai Henningsen

    Kai Henningsen - 2002-01-09
    • status: closed-rejected --> open-rejected
     
  • Kai Henningsen

    Kai Henningsen - 2002-01-09

    Logged In: YES
    user_id=421250

    This is not an uname *function*, but an uname *executable*.
    Having such an executable means that ./configure "just
    works", which surely is an improvement over having to
    explicitely specify a target.

    Furthermore, when used together with Cygwin - which the Web
    page certainly suggests - the Cygwin uname misleads
    configure scripts, unless there is another uname in the PATH
    before it.

    So it seems to me that an uname executable does belong in
    the MinGW base package.

     
  • Earnie Boyd

    Earnie Boyd - 2002-06-03
    • status: open-rejected --> closed-rejected