[Mesa-users] Cross compiling for ARM, which flag to use for configure script?

Patryk Małek malekpatryk at gmail.com
Sun Jun 22 16:10:08 PDT 2014


Hi all,

I am new to mesa in general. I have successfully compiled it on my Ubuntu
14.04 x64 machine with OpenGL ES 1 and 2. Now I would like to cross compile
it for ARM arch. I have the arm compiler on my machine :

​
>
​​
> g++-4.7-arm-linux-gnueabi
> ​        ​
> 4.7.3-
> ​​
> ​​
> ​​
> ​​
> ​​
> ​​
> ​​
> 12ubuntu1cross1.85

g++-arm-linux-gnueabi
> ​              ​
> 4:4.7.2-1

gcc-4.7-arm-linux-gnueabi
> ​         ​
> 4.7.3-12ubuntu1cross1.85

​
> gcc-arm-linux-gnueabi
> ​              ​
> 4
> ​​
> ​​
> ​​
> ​​
> :4.7.2-1

​
>
​
Now I am a little bit confused by the configure options that I would need
to use:

​--host                                                       --
> cross-compile to build programs to run on HOST (BUILD)
>
​
> ​​
>> ​--target                                                     -- configure
> for building compilers for TARGET (HOST)
>
​
> ​--build                                                      -- configure
> for building on BUILD (guessed)​
>
​​
>
>Which one of them should I use and what values should I use?​
​

-- 

​
regards,
​​

Patryk
​
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20140623/ab5665f6/attachment.html>


More information about the mesa-users mailing list