On Tue, Jul 03, 2018 at 05:09:04PM -0400, Baho Utot wrote:
> > > > configure:3843: checking for C compiler default output file name
> > > > configure:3845: result: a.out
> > > > configure:3851: checking for suffix of executables
> > > > configure:3858: gcc -o conftest conftest.c >&5
> > > > configure:3862: $? = 0
> > > > configure:3884: result:
At that point, I think it has determined that executables do not
need a .exe suffix (i.e. you are not on cygwin). Hence a blank
result.
> > > > configure:3906: checking whether we are cross compiling
> > > > configure:3914: gcc -o conftest conftest.c >&5
> > > > configure:3918: $? = 0
> > > > configure:3925: ./conftest
> > > > ./configure: line 3927: ./conftest: No such file or directory
> > > > configure:3929: $? = 127
Look at the lines of configure from about line 3885 to line 3929.
And also near the start of the file re 'host' for an explanation of
why --host is accepted.
> > > > configure:3936: error: in `/usr/src/Octothorpe/BUILD/file-5.32':
> > > > configure:3938: error: cannot run C compiled programs.
> > > > If you meant to cross compile, use `--host'.
> > > > See `config.log' for more details
> > > >
In this case, it fell over because conftest apparently did not
exist.
> If I use ./configure --prefix=/usr --host x86_64 the configure will then
> work.
>
> What does the --host x86_64 do to "correct" this issue?
>
Read the lines I pointed you too, starting by looking for 'host'.
By telling it you are cross-compiling, it skips the test. The
reason for the test is in a comment in the chunk of lines for the
test which fails.
None of this explains why conftest does not exist. A file of that
name gets created loads of times during the configure tests, and
deleted at the end of each test.
ĸen
--
Keyboard not found, Press F1 to continue
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style