WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: The required files (TCL x86_64 + x86) for multilib already exist, right!?  (Read 8475 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1262
am I going to do it like this
please see attached file
« Last Edit: March 07, 2021, 09:38:54 PM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
No:
Code: [Select]
$ cd /home/tc
$ wget http://tinycorelinux.net/11.x/x86_64/release/src/toolchain/mpfr-4.0.2.tar.xz
$ cd /home/tc/gcc-9.2.0
$ tar -xf ../mpfr-4.0.2.tar.xz

Offline xor

  • Hero Member
  • *****
  • Posts: 1262
Code: [Select]
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$ sed -e '/m64=/s/lib64/lib/' -e '/m32=/
s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' -i.orig gcc/config/
i386/t-linux64
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$ cd /home/tc
tc@box:~$
tc@box:~$ wget http://tinycorelinux.net/11.x/x86_64/release/src/toolchain/mpfr-4
.0.2.tar.xz
Connecting to tinycorelinux.net (89.22.99.37:80)
saving to 'mpfr-4.0.2.tar.xz'
mpfr-4.0.2.tar.xz    100% |********************************| 1408k  0:00:00 ETA
'mpfr-4.0.2.tar.xz' saved
tc@box:~$ cd /home/tc/gcc-9.2.0
sh: cd: can't cd to /home/tc/gcc-9.2.0: No such file or directory
tc@box:~$ tar xf mpfr-4.0.2.tar.xz
tc@box:~$ cd mpfr-4.0.2.tar.xz
sh: cd: can't cd to mpfr-4.0.2.tar.xz: Not a directory
tc@box:~$
tc@box:~$ tar -xf ../mpfr-4.0.2.tar.xz
tar: ../mpfr-4.0.2.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tc@box:~$ mv -v mpfr-4.0.2 mpfr
renamed 'mpfr-4.0.2' -> 'mpfr'
tc@box:~$
tc@box:~$ tar -xf ../gmp-6.1.2.tar.xz
tar: ../gmp-6.1.2.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tc@box:~$ mv -v gmp-6.1.2 gmp
mv: cannot stat 'gmp-6.1.2': No such file or directory
tc@box:~$
tc@box:~$ tar -xf ../mpc-1.1.0.tar.gz
tar: ../mpc-1.1.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tc@box:~$ mv -v mpc-1.1.0 mpc
mv: cannot stat 'mpc-1.1.0': No such file or directory

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Note also that this is wrong:
Code: [Select]
~/binutils-2.33.1/build/gcc-9.2.0It means that you downloaded the gcc source code whilst inside the binutils source code.

You should have:
~/binutils-2.33.1/build
~/gcc-9.2.0/build

Offline xor

  • Hero Member
  • *****
  • Posts: 1262
help !!! :(

I don't fully understand because I wrote it with google translate,
can you check the code in the plugin!
« Last Edit: March 07, 2021, 10:05:52 PM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
You downloaded gcc-9.2.0 in the wrong place.

To fix things:
Code: [Select]
$ cp -r /home/tc/binutils-2.33.1/build/gcc-9.2.0 /home/tc
$ mv /home/tc/binutils-2.33.1/build/gcc-9.2.0.tar.xz /home/tc
$ rm -rf /home/tc/binutils-2.33.1/build/gcc-9.2.0

Offline xor

  • Hero Member
  • *****
  • Posts: 1262
There is no space left on the 4gb ram.
If I have a ram upgrade situation in the future
I can try to continue where I left off.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
You don’t have to compile in ram, you can use a hard drive or usb stick