This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hints for cross-compiling staprun?


On 2010-08-30, Roland McGrath <roland@redhat.com> wrote:

> I always found the --disable-translator et al approach fairly insane.
> I've added a standalone configure script and makefile for the runtime
> programs.
>
> You can use this by taking your git checkout (or unpacking a future dist
> tar file), and then running in some build directory:
>
> 	.../runtime/staprun/configure --host=cross-target --prefix=/usr
> 	make
> 	make install DESTDIR=/cross/place
>
> i.e., it's a simple standard build setup and it should support cross
> compilation as well as such things usually do.  This configure.ac and
> Makefile.am are quite small and simple, so if you have cross-compile issues
> you can just get generic help on cross compilation for your environment
> and it should apply to this case as well.

Brilliant!

After I get my current build of 1.3 working, I'll give the new method
a try.

-- 
Grant Edwards               grant.b.edwards        Yow! HUGH BEAUMONT died
                                  at               in 1982!!
                              gmail.com            


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]