|
From: Mansuri Wasim-W. <WC...@mo...> - 2009-03-16 10:05:14
|
Hi All, How to do the cross compilation for valgrind source code? Thanks, Wasim |
|
From: Florian K. <br...@ac...> - 2009-03-16 12:48:21
|
On Monday 16 March 2009 6:04:54 am Mansuri Wasim-WCFJ43 wrote: > Hi All, > > How to do the cross compilation for valgrind source code? > ./configure --host=your-cross-target --enable-tls or --disable-tls. But you need to give one of them because checking for TLS cannot be done during a cross-compile Search engines work great, too. e.g. http://linlog.blogspot.com/2008/07/cross-compiling-valgrind.html /F > |
|
From: Bart V. A. <bar...@gm...> - 2009-03-16 13:01:16
|
On Mon, Mar 16, 2009 at 1:48 PM, Florian Krohm <br...@ac...> wrote: > On Monday 16 March 2009 6:04:54 am Mansuri Wasim-WCFJ43 wrote: >> How to do the cross compilation for valgrind source code? >> > > ./configure --host=your-cross-target --enable-tls > > or --disable-tls. But you need to give one of them because > checking for TLS cannot be done during a cross-compile By the way, from Valgrind version 3.4.0 on you do no longer have to specify --enable-tls or --disable-tls when cross-compiling Valgrind. Bart. |
|
From: Florian K. <br...@ac...> - 2009-03-16 13:07:08
|
On Monday 16 March 2009 9:01:00 am Bart Van Assche wrote: > On Mon, Mar 16, 2009 at 1:48 PM, Florian Krohm <br...@ac...> wrote: > > On Monday 16 March 2009 6:04:54 am Mansuri Wasim-WCFJ43 wrote: > >> How to do the cross compilation for valgrind source code? > >> > > > > ./configure --host=your-cross-target --enable-tls > > > > or --disable-tls. But you need to give one of them because > > checking for TLS cannot be done during a cross-compile > > By the way, from Valgrind version 3.4.0 on you do no longer have to > specify --enable-tls or --disable-tls when cross-compiling Valgrind. > Oh, sweet. Didn't check lately.. Thanks. Florian |