[Mesa-dev] [PATCH] gen_matypes: fix cross-compiling with gcc

Mike Frysinger vapier at gentoo.org
Sat Aug 24 16:00:54 PDT 2013


On Thursday 18 July 2013 16:59:52 Matt Turner wrote:
> On Mon, Feb 4, 2013 at 6:27 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> > The current gen_matypes logic assumes that the host compiler will produce
> > information that is useful for the target compiler.  Unfortunately, this
> > is not the case whenever cross-compiling.
> > 
> > When we detect that we're cross-compiling and using GCC, use the target
> > compiler to produce assembly from the gen_matypes.c source, then process
> > it with a shell script to create a usable header.  This is similar to how
> > the linux kernel creates its asm-offsets.c file.
> > 
> > Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> > ---
> 
> Thanks, committed (finally).

hmm, i'm glad it still applied :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130824/bdedcef5/attachment.pgp>


More information about the mesa-dev mailing list