How to prevent multilib builds if OS support missing?
Jakub Jelinek
jakub@redhat.com
Tue Nov 26 13:22:00 GMT 2002
On Tue, Nov 26, 2002 at 08:12:39PM +0100, Ulrich Weigand wrote:
> is there some mechanism to prevent a gcc build from failing because
> some multilibbed library cannot be built due to missing OS support
> (missing libraries, binutils support etc.)?
>
> I had thought that code in config-ml.in could be used for that purpose,
> e.g. there is sparc code with the comment:
> # We will not be able to create libraries with -m64 if
> # we cannot even link a trivial program. If usually
> # indicates the 64bit libraries are missing.
> which subsequently disables the -m64 multilib builds.
>
> However, when I've added similar code to disable -m31 builds on
> s390x-ibm-linux systems where 31bit libraries are missing, gcc
> still did not build, because it still tried unsuccessfully to
> build a multilibbed libgcc_s.so.
>
> Apparently, config-ml.in is not even used inside the gcc/ directory
> at all, only for the target libraries (libstdc++ etc.).
>
> Is there some corresponding facility to disable multilibbed variants
> of libgcc if OS support is missing?
It would have to be written. Should probably go into mklibgcc.in.
Jakub
More information about the Gcc
mailing list