Cross compiling for ARM, which flag to use for configure script?

Patryk Małek <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAE52pcF8MMLFG1Se2Y-b9NcuN0GCRcAQKMLuxq4CARHEgP3UUQ@mail.gmail.com>
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
​
​

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.