On Sun, Jun 6, 2010 at 10:41 PM, Julian Seward <jsew...@acm.org> wrote:
> Oh, darn.  It looks like I broke cross compilation recently by
> introducing link_tool_exe.c as part of the build process.
>
> Honestly .. the your best bet is to rewrite link_tool_exe.c as
> a perl script, so it can run on the host.  I actually started out
> to write it as a perl script, but couldn't find a way to make it
> portably do 64-bit arithmetic, which it needs to do on some platforms.
> Hence I wimped out and wrote a C program instead.  However, that
> evidently isn't going to work in this case.

Why Perl ? Perl isn't used anywhere yet during the Valgrind build --
that would introduce an additional dependency.

Bash can do 64-bit arithmetic as well. An example:

$ bash -c 'echo $((1<<62))'
4611686018427387904

Bart.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to