On Mon, 2009-04-13 at 14:16 +0300, Eduard - Gabriel Munteanu wrote:
> diff --git a/Makefile b/Makefile
> index 84adf3a..37c2d02 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -6,13 +6,24 @@ CLASSPATH_INSTALL_DIR       ?= $(shell 
> ./tools/classpath-config)
>  GLIBJ                = $(CLASSPATH_INSTALL_DIR)/share/classpath/glibj.zip
>  BOOTCLASSPATH        = lib/classes.zip:$(GLIBJ)
>  
> -JAMVM_ARCH   := $(shell uname -m | sed -e s/i.86/i386/ | sed -e 
> s/ppc/powerpc/)
> -ARCH         := $(shell uname -m | sed -e s/i.86/i386/)
> +BUILD_ARCH   := $(shell uname -m | sed -e s/i.86/i386/)
> +ARCH         := $(BUILD_ARCH)
> +JAMVM_ARCH   := $(shell sed -e s/ppc/powerpc/ <<< $(ARCH))

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


------------------------------------------------------------------------------
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

Reply via email to