[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem configuring for dietlibc
From: |
Alain Knaff |
Subject: |
Problem configuring for dietlibc |
Date: |
Sat, 30 Nov 2024 15:41:56 +0100 |
User-agent: |
Mozilla Thunderbird |
Hi,
When configuring a package that has AC_CANONICAL_HOST in its
configure.ac for dietlibc using the following command line:
CC="diet gcc -nostdinc" ./configure --disable-nls
the configuration fails with:
checking build system type... Invalid configuration 'x86_64-pc-linux-dietlibc':
OS 'dietlibc' not recognized
configure: error: /bin/bash ./config.sub x86_64-pc-linux-dietlibc failed
Apparently config.guess produces a host string x86_64-pc-linux-dietlibc
that config.sub cannot grok.
Manually setting ac_cv_build to x86_64-pc-linux-dietlibc allows
configuration and compilation to proceed, but that's not supposed to be
needed :-)
Both config.sub and config.guess are the most recent versions, as
downloaded from https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
Thanks,
Alain
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem configuring for dietlibc,
Alain Knaff <=