Menu

Setup files for cygwin under Windows OS

2022-08-31
2023-04-27
  • Mario Kitzler

    Mario Kitzler - 2022-08-31

    Hello everybody.
    I'm on Windows 10 and I've been trying to install the binutils for STM8 according to https://stm8-binutils-gdb.sourceforge.io/ . It seems that the folder for "/cygwin" is not available under "stm8-binutils-gdb" anymore.
    No mather what mirrors I use, the setup of cygwin complains about missing files:
    "HTTP status 404 fetching https://sourceforge.net/projects/stm8-binutils-gdb/files/x86_64/..."

    Can anybody help me?

     
    • akre

      akre - 2022-08-31

      Precompiled cygwin binaries are no longer provided. You need to compile it your self...
      /Ake

       
  • Mario Kitzler

    Mario Kitzler - 2022-08-31

    Thanks for that information. However this was not what I was hoping for.
    Is there a guide on how to compile the binutils?

     
    • akre

      akre - 2022-08-31

      Instructions here: https://stm8-binutils-gdb.sourceforge.io/

      Find the requirements for building here: https://sourceware.org/gdb/current/onlinedocs/gdb/Requirements.html

      And in addition if you want TUI mode you should also install ncurses libraries.

       
      • akre

        akre - 2022-08-31

        Or compile it under WSL is perhaps better.

         
  • Mario Kitzler

    Mario Kitzler - 2022-09-05

    Dear akre,
    sorry for the delay. First I was short of time. Afterwards I was struggling around with Vistual Studio Code and WSL. Compiling the binaries for STM8-binutils in WSL means that I have to cross compile them. I doubt I can do that.

     
    • akre

      akre - 2022-09-05

      What I meant was to compile in linux under wsl for linux instead of cygwin. In any case building under cygwin should be no problem either. /Ake

       
  • Mian Qi

    Mian Qi - 2023-04-25

    The errors after run "make install":

     
  • Mian Qi

    Mian Qi - 2023-04-26

    I have just tested on Ubuntu, the situation was the same - there was error when "make".

     
    • akre

      akre - 2023-04-26

      Did you do as described in the README file? Also check for any errors from configure script.

       
  • Mian Qi

    Mian Qi - 2023-04-27

    Yes, I did as it was told in README, and there was no error prompted in "./configure.sh".

     
    • akre

      akre - 2023-04-27

      It is usually some important prerequisite missing. I just ran compilation of the whole thing on ubuntu 22.10 without any issues.
      https://sourceware.org/gdb/onlinedocs/gdb/Requirements.html

       
    • akre

      akre - 2023-04-27

      FYI: Posting screen shots is close to useless.

       

Log in to post a comment.