Article 52DV4 LFS 9.1 - build and install gcc-9.2.0 part 1, chapter 5.5

LFS 9.1 - build and install gcc-9.2.0 part 1, chapter 5.5

by
bobbi anne dutcher
from LinuxQuestions.org on (#52DV4)
Hi, this is my 1st post to LinuxQuestions

I'm running Ubuntu 9.1 on a Thinkpad T240

On attempting to configure, build and install gcc - part 1

I get this message

checking whether we are cross compiling... configure: error: in `/mnt/lfs/sources/gcc-9.2.0/build':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more detail

I have config.log - though I don't see a way to attach the log ...

Instead, here is the first error in config.log :

gcc version 9.2.0 (GCC)
configure:4352: $? = 0
configure:4341: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.latest?d=yIl2AUoC8zA latest?i=NH4NMjBLoxo:5_O9fCOR8l0:F7zBnMy latest?i=NH4NMjBLoxo:5_O9fCOR8l0:V_sGLiP latest?d=qj6IDK7rITs latest?i=NH4NMjBLoxo:5_O9fCOR8l0:gIN9vFwNH4NMjBLoxo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments