WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
for commands to run sequentially
I created the file run.sh.

but after a point it gives an error!
can you check it please!?

http://forum.tinycorelinux.net/index.php?action=dlattach;topic=24844.0;attach=5673
« Last Edit: March 07, 2021, 07:28:52 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
You have "cd binutils-2.33.1" listed twice.

Note that compile_multilib is meant to function as build notes, it is not meant to be a script - this is why I asked you to to run it line by line.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
no: 2

I will list the errors I encountered while doing what you said!

Code: [Select]
tc@box:~/binutils-2.33.1/build$ cd gcc-9.2.0
sh: cd: can't cd to gcc-9.2.0: No such file or directory

Code: [Select]
tc@box:~$ cd gcc-9.2.0
sh: cd: can't cd to gcc-9.2.0: No such file or directory
« Last Edit: March 07, 2021, 08:02:40 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
You need to download the gcc source code from the same location as binutils and then uncompress it.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
I got stuck on line 19 of the attached file!
« Last Edit: March 07, 2021, 09:05:57 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
line 19 is "cd gcc-9.2.0" - did you read my comment?

Code: [Select]
$ wget http://tinycorelinux.net/11.x/x86_64/release/src/toolchain/gcc-9.2.0.tar.xz
$ tar xf gcc-9.2.0.tar.xz
$ cd gcc-9.2.0

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
in the next lines

input

Code: [Select]
tar -xf ../mpfr-4.0.2.tar.xz
mv -v mpfr-4.0.2 mpfr
tar -xf ../gmp-6.1.2.tar.xz
mv -v gmp-6.1.2 gmp
tar -xf ../mpc-1.1.0.tar.gz
mv -v mpc-1.1.0 mpc

output error ! :(

Code: [Select]
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$ 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:~/binutils-2.33.1/build/gcc-9.2.0$ mv -v mpfr-4.0.2 mpfr
mv: cannot stat 'mpfr-4.0.2': No such file or directory
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$ 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:~/binutils-2.33.1/build/gcc-9.2.0$ mv -v gmp-6.1.2 gmp
mv: cannot stat 'gmp-6.1.2': No such file or directory
tc@box:~/binutils-2.33.1/build/gcc-9.2.0$ 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:~/binutils-2.33.1/build/gcc-9.2.0$ mv -v mpc-1.1.0 mpc
« Last Edit: March 07, 2021, 10:04:32 AM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
English is not my mother tongue!
I am writing with google translate.

It is a pity that TCL has not produced a solution for multilib so far.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Please try to think about what you are doing.

Did you download mpfr-4.0.2.tar.xz, gmp-6.1.2.tar.xz and mpc-1.1.0.tar.gz?

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: 1268
you told me in the first place
You told me to login to the command line line by line
I don't know what to enter in the command screen.

what is the necessary intermediate command to fix the problem!?
« Last Edit: March 07, 2021, 11:01:24 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
After you finish compiling and installing each item, you need to return to /home/tc before downloading the next item.

Download mpfr-4.0.2.tar.xz, gmp-6.1.2.tar.xz and mpc-1.1.0.tar.gz in the same way as you downloaded binutils-2.33.1.tar.xz and gcc-9.2.0.tar.xz

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
There was an error on line 25, please can you write the commands that need to be added!?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Line 25 is "tar -xf ../mpfr-4.0.2.tar.xz"

Did you download mpfr-4.0.2.tar.xz?
Are you in ~/gcc-9.2.0?

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Line 25 is "tar -xf ../mpfr-4.0.2.tar.xz"
Did you download mpfr-4.0.2.tar.xz?
no
« Last Edit: March 07, 2021, 12:22:45 PM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
You cannot uncompress a tar archive if you have not first downloaded it.

Change directory to /home/tc
Download mpfr-4.0.2.tar.xz
Change directory to /home/tc/gcc-9.2.0
Issue the command "tar -xf ../mpfr-4.0.2.tar.xz"