This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Provide CFLAGS/LDFLAGS for host tools


Hi,

On Tue, Dec 7, 2010 at 8:01 AM, Andy Gibbs <andyg1001@hotmail.co.uk> wrote:
> Hi,
>
> Attached to this email is a patch for crosstool that will allow the user to
> specify additional CFLAGS and LDFLAGS that are applicable to building the
> executables which run on the host (not the target!) -- this means gcc and
> the companion libraries. ?At the moment it does not include the companion
> tools (e.g. m4, autoconf, etc.), but this can easily be added if necessary.
>
> An extra section named "Host options" has been added to the configuration
> menu. ?The contents of CT_HOST_CFLAGS and CT_HOST_LDFLAGS are then passed
> into the configure scripts for the companion libraries and gcc.
>

+                --with-build-ldflags="${CT_HOST_LDFLAGS}"
          \

That looks broken if BUILD != HOST.

 - Arnaud

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]