[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keeping ‘-B’ link flags
From: |
Ludovic Courtès |
Subject: |
Keeping ‘-B’ link flags |
Date: |
Tue, 18 May 2010 01:26:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hello,
In ‘link’ mode ‘libtool’ swallows GCC ‘-B’ arguments. How can it be
worked around? Using $GCC_EXEC_PREFIX doesn’t help because it’s too
coarse-grain.
(The goal here is to build a shared library with a bare metal cross-gcc,
and then allow it to link against crti.o & co. from the libc built with
that cross-compiler, hence the need for -B/path/to/cross/libc.)
Thanks,
Ludo’.
- Keeping ‘-B’ link flags,
Ludovic Courtès <=