[PATCH] libXt: don't use target flags to build makestrs #69241

Yunlian Jiang yunlian at google.com
Mon Sep 16 13:28:53 PDT 2013


It works for my case.
I uses x86_64-pc-linux-gnu-gcc as the host compiler,
i686-pc-linux-gnu-gcc, armv7a-cros-linux-gnueabi-gcc
and x86_64-cros-linux-gnu-gcc as
the target comiler. They all work fine.


On Mon, Sep 16, 2013 at 12:58 PM, Alan Coopersmith <
alan.coopersmith at oracle.com> wrote:

> On 09/13/13 04:58 PM, Yunlian Jiang wrote:
>
>> From: Yunlian Jiang <yunlian at gmail.com>
>>
>> The build-time binary makestrs should not be built with target flags.
>> If the target flags are not compatable with the build compiler. The
>> compile time error or the runtime error may happen when building or
>> running the binary makestrs.
>>
>
> Does the resulting makestrs work?   It needs to have the right flags for
> generating the code for the target platform.   (This code really really
> really wasn't designed for cross-compiling, and I'm constantly surprised
> cross-compiling even appears to work.)
>
> --
>         -Alan Coopersmith-              alan.coopersmith at oracle.com
>          Oracle Solaris Engineering - http://blogs.oracle.com/alanc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130916/8c86ef2e/attachment.html>


More information about the xorg-devel mailing list