Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-11 Thread Leonid Bloch
On Mon, Mar 11, 2013 at 10:54 AM, KONRAD Frédéric wrote: > On 10/03/2013 17:28, Leonid Bloch wrote: >> >> On Sun, Mar 10, 2013 at 4:59 PM, Peter Maydell >> wrote: >>> >>> On 10 March 2013 14:36, Leonid Bloch wrote: I want to cross compile QEMU itself to run on ARM, but all my searches

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-11 Thread KONRAD Frédéric
On 10/03/2013 17:28, Leonid Bloch wrote: On Sun, Mar 10, 2013 at 4:59 PM, Peter Maydell wrote: On 10 March 2013 14:36, Leonid Bloch wrote: I want to cross compile QEMU itself to run on ARM, but all my searches lead me to tutorials for cross compiling other programs for ARM and testing them wi

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-11 Thread Peter Maydell
On 11 March 2013 01:59, Peter Crosthwaite wrote: > On Mon, Mar 11, 2013 at 1:04 AM, Peter Maydell > wrote: >> Oh, and I forgot -- don't try to build system emulators with --static: >> it's only really meant for the linux-user targets. Do specify > > Works for us quite nicely. Any known issues he

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Peter Crosthwaite
Hi Peter, On Mon, Mar 11, 2013 at 1:04 AM, Peter Maydell wrote: > On 10 March 2013 14:36, Leonid Bloch wrote: >> I am using Buildroot as my toolchain, and the farthest I got was: >> $ ./configure --cpu=armv7hl --static --cc=arm-linux-cc >> $ make >> ...And then I get a lot of errors about libint

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Peter Crosthwaite
Hi Peter, On Mon, Mar 11, 2013 at 12:59 AM, Peter Maydell wrote: > Question for the qemu-devel folks: does anybody have a situation > where they genuinely need to pass --cpu to configure (ie the > autodetection is wrong or insufficient)? [configure does mention > one case, which is when cross-com

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Peter Maydell
On 10 March 2013 16:28, Leonid Bloch wrote: > Tried that at first, but then getting an error: > Error: pkg-config binary 'arm-linux-pkg-config' not found This means you need to fix your cross compile set up. It should have a cross-version of pkg-config, which should be named 'arm-linux-pkg-config

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Leonid Bloch
On Sun, Mar 10, 2013 at 4:59 PM, Peter Maydell wrote: > On 10 March 2013 14:36, Leonid Bloch wrote: >> I want to cross compile QEMU itself to run on ARM, but all my searches >> lead me to tutorials for cross compiling other programs for ARM and >> testing them with QEMU, which is not what I need.

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Blue Swirl
On Sun, Mar 10, 2013 at 2:59 PM, Peter Maydell wrote: > On 10 March 2013 14:36, Leonid Bloch wrote: >> I want to cross compile QEMU itself to run on ARM, but all my searches >> lead me to tutorials for cross compiling other programs for ARM and >> testing them with QEMU, which is not what I need.

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Peter Maydell
On 10 March 2013 14:36, Leonid Bloch wrote: > I am using Buildroot as my toolchain, and the farthest I got was: > $ ./configure --cpu=armv7hl --static --cc=arm-linux-cc > $ make > ...And then I get a lot of errors about libintl and libiconv. Oh, and I forgot -- don't try to build system emulators

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Peter Maydell
On 10 March 2013 14:36, Leonid Bloch wrote: > I want to cross compile QEMU itself to run on ARM, but all my searches > lead me to tutorials for cross compiling other programs for ARM and > testing them with QEMU, which is not what I need. > The only relevant link I found was this: > http://lists.g

[Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Leonid Bloch
Hello, I want to cross compile QEMU itself to run on ARM, but all my searches lead me to tutorials for cross compiling other programs for ARM and testing them with QEMU, which is not what I need. The only relevant link I found was this: http://lists.gnu.org/archive/html/qemu-devel/2011-05/msg00099