Re: [PATCH/RFC] Improve cross-compile support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 13 2013, Aaron Carroll wrote:
> A first attempt at making cross-compile viable is attached.
> 
> Specifically we:
>  - Propagate the target OS from configure to Makefile so we dont need uname
>  - Allow CROSS_COMPILE for toolchain prefix, which is common (e.g. Linux)
>  - Allow wordsize and bigendian to be set statically.  These are
> usually determined by executing a test program, which obviously
> doesn't work for cross compiles.
>  - Make the Android config dynamic (but set wordsize/bigendian)
> 
> Now the wordsize/bigendian handling is not ideal but I can't think of
> a better approach right now.
> 
> Also I've changed the #includes in the socklet_t check.  sys/socket.h
> appears to be the right thing, but please check.
> 
> Compile tested on Linux/i386 native, Linux/i386 to Android cross
> compile, and OS X native.

Looks OK to me, I can test on other platforms too. But it does not apply
against current -git:

patching file Makefile
patching file configure
Hunk #3 FAILED at 235.
1 out of 9 hunks FAILED -- saving rejects to file configure.rej

Can you update and resend? Thanks!

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux