Giter VIP home page Giter VIP logo

Comments (4)

salusasecundos avatar salusasecundos commented on May 27, 2024

Fixed, in system i choose
update-alternatives --install /usr/bin/python python /usr/bin/python3.10 2
update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
update-alternatives --install /usr/bin/python python /usr/bin/python3 3

update-alternatives --config python

for GDB 13.1 I choose Python
pythonVersion="3.3.5"

I assembled version arm-none-eabi-gcc-13-20230319-230404-win64

everything works for now.

There will be a problem with sym-mingw32.o command to create it somehow doesn't work, so i went to directory with sym-mingw32.cc file, executed command there and get .o file. then hit --resume and I copied that file to build directory with GCC and file was found. Whole compilation were successful.

my versions

binutilsVersion="2.40"
expatVersion="2.5.0"
gccVersion="13-20230319"
gdbVersion="13.1"
gmpVersion="6.2.1"
islVersion="0.25"
libiconvVersion="1.17"
mpcVersion="1.3.1"
mpfrVersion="4.2.0"
newlibVersion="4.3.0.20230120"
pythonVersion="3.3.5"
zlibVersion="1.2.13"

from bleeding-edge-toolchain.

FreddieChopin avatar FreddieChopin commented on May 27, 2024

So you basically updated most of the "core" stuff (gcc, gdb, binutils and newlib), also updating python for the windows version from v2 to v3 and it works? Nice (; Last time I tried GCC for windows would not like python v3 and explicitly required python v2 /;

I guess gcc 13 will be released soon, so I will probably update the script soon as well.

The first error that you saw - that pushd: not found - is caused by your system not having pushd command. You need to find the package that has it and install it. It seems that in ArchLinux pushd and popd are just bash built-ins, but I may be wrong here.

from bleeding-edge-toolchain.

salusasecundos avatar salusasecundos commented on May 27, 2024

Yeah updated everything and yes python for windows version is 3.3.5, version 2.17 is not accepted at all
I thought that I'm doing something wrong with python bit no. Python version should be updated as well as linux one.
There only one problem that i found is sys_mingw32.o doesn't want to be created by command

x86_64-w64-mingw32-g++ -fno-PIE -c /home/miha/WORK/GCC-13/sources/gcc-13-20230319/gcc/config/i386/sym-mingw32.cc sym-mingw32.o

x86_64-w64-mingw32-g++: error: sym-mingw32.o: No such file or directory

So what i did is: I get to folder with sources /home/.../WORK/GCC-13/sources/gcc-13-20230319/gcc/config/i386/ fnd executed that command right there and i got that sym-mingw32.o file. Then i continued compiling and the same time copied this file to build directory and the file hooked up, so that's the only problem.

Other problems i solved more or less easily. You can try with my versions to see what problemms can appear to fix them in script if it is script problem.

from bleeding-edge-toolchain.

dobryj avatar dobryj commented on May 27, 2024

pushd error is caused by using of /bin/sh where is not pushd supported. It is bash extension. Therefore when sh is link to bash, it works. With real sh not.
Solution is change /bin/sh to /bin/bash on the first line or start bash with script as input.

from bleeding-edge-toolchain.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.