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.


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.