LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2022, 01:09 PM   #1
jowski
Member
 
Registered: Aug 2007
Posts: 117

Rep: Reputation: 9
arm-x-toolchain.SlackBuild compile error


I just tried to compile 'arm-x-toolchain.SlackBuild' and get the following error after about an hour of crunching:
./arm-x-toolchain.SlackBuild: line 97: /tmp/SBo/package-arm-x-toolchain/opt/arm-x-toolchain/bin/arm-slackware-linux-gnueabihf-gcc: No such file or directory
cp: cannot stat '/tmp/SBo/package-arm-x-toolchain//opt/arm-x-toolchain/bin/arm-slackware-linux-gnueabihf-g++': No such file or directory
I'm running it out of the /slackarm/source/arm-x-toolchain directory as root. Did I miss a tarball or two that I needed to download?

The goal of this exercise is to set up a standalone cross-compiler on an x86_64 machine. Shared compiling resources isn't a concern.

Thanks,
Jim
 
Old 02-13-2022, 06:34 AM   #2
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Rep: Reputation: 40
Would recommend you taking alook at Stuartīs x-toolchain if you are looking to crosscompile x86, x86_64 to ARM or Aarch64.
If i am not misstaken, you can find some precompiled x-toolchains for x86_64 Slackware packages.

Last edited by Minime_2003; 02-13-2022 at 06:44 AM.
 
Old 02-15-2022, 08:07 PM   #3
jowski
Member
 
Registered: Aug 2007
Posts: 117

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Minime_2003 View Post
Would recommend you taking alook at Stuartīs x-toolchain if you are looking to crosscompile x86, x86_64 to ARM or Aarch64.
If i am not misstaken, you can find some precompiled x-toolchains for x86_64 Slackware packages.
I don't think they are all precompiled but I was able to get the toolchain to build on a fresh 15.0 machine. I think the problem I had when I made the previous post was in the Slackbuild when it was packaging the build and not a compilation error.

Jim
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile Slackware ARM x-toolchain on 14.0 32 bit. Linux.tar.gz Slackware 8 05-10-2013 05:01 PM
error in Toolchain build for ARM anuradha jain Linux - Embedded & Single-board computer 2 12-14-2011 07:21 AM
GNU ToolChain for ARM, Linux 2.6.14-2/binutil-2.16/gcc 4.0.2/glibc-2.3.5 kumar_bst Linux - Software 0 01-22-2008 04:59 AM
ARM Toolchain Problem richardji Linux - General 2 08-08-2005 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration