On Mon, Apr 13, 2009 at 05:22:55PM +0300, Pekka Enberg wrote:
>
> This JAMVM_ARCH change breaks build on i386 like this:
>
> penb...@penberg-laptop:~/src/jato$ make
> /bin/sh: Syntax error: redirection unexpected
>
> After that the JAMVM_ARCH_H symbolic link isn't set up at all. If I
> change it back to this:
>
> -JAMVM_ARCH := $(shell sed -e s/ppc/powerpc/ <<< $(ARCH))
> +JAMVM_ARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e
> s/ppc/powerpc/)
> BUILD_ARCH := $(shell uname -m | sed -e s/i.86/i386/)
> ARCH := $(BUILD_ARCH)
>
> I can build Jato again. Hmm?
>
> Pekka
Oops, I might have used a non-portable shell redirection. Perhaps
something like this would do it:
JAMVM_ARCH := $(shell echo "$(ARCH)" | sed -e s/ppc/powerpc/)
(You're getting this on MacOS, right?)
I'll see if there's a better, more elegant and still portable way to do
it and resubmit.
Eduard
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel