LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-17-2023, 03:03 AM   #1
neon757
LQ Newbie
 
Registered: Feb 2023
Posts: 2

Rep: Reputation: 0
error when configure" Cross Compiling musl-1.1.16 "


Hello!

I'm trying to build CLFS for Bluetechnix core (i.MX53) using this book. Everything was OK before Musl configuration. Actually I have the same issue as here.

Error:
Code:
checking for C compiler... 
./configure: cannot find a C compiler
If I add CC="gcc" or CC="gcc -m32" I've got this error:
Code:
checking whether global visibility preinclude works... yes
checking preprocessor condition __PIC__... false
checking whether linker accepts -Wl,--sort-section,alignment... yes
checking whether linker accepts -Wl,--sort-common... yes
checking whether linker accepts -Wl,--gc-sections... yes
checking whether linker accepts -Wl,--hash-style=both... yes
checking whether linker accepts -Wl,--no-undefined... yes
checking whether linker accepts -Wl,--exclude-libs=ALL... yes
checking whether linker accepts -Wl,-Bsymbolic-functions... yes
checking whether linker accepts -lgcc... yes
checking whether linker accepts -lgcc_eh... yes
using compiler runtime libraries: -lgcc -lgcc_eh
checking preprocessor condition __thumb2__... false
checking preprocessor condition __ARMEB__... false
checking preprocessor condition __ARM_PCS_VFP... false
checking whether compiler's long double definition matches float.h... no
./configure: error: unsupported long double type
Can anybody help me with this?
 
Old 03-06-2023, 06:25 AM   #2
neon757
LQ Newbie
 
Registered: Feb 2023
Posts: 2

Original Poster
Rep: Reputation: 0
Solution

Code:
./configure CROSS_COMPILE=${CLFS_TARGET}- --prefix=/ --target=${CLFS_TARGET} CC=/clfs/cross-tools/bin/arm-linux-musleabihf-gcc AR=/clfs/cross-tools/bin/arm-linux-musleabihf-ar RANLIB=clfs/cross-tools/bin/arm-linux-musleabihf-gcc-ranlib
 
  


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
error when configure" Cross Compiling musl-1.1.16 " iRoyal Linux From Scratch 3 08-08-2018 06:15 AM
configure error: configure: error: cannot execute: /usr/local/bin/arm-apple-darwin-ld GunNam Linux - General 0 10-24-2008 08:26 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:29 PM.

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