Re: Help setting up Sablevm

David Bélanger <[email protected]> Tue, 22 Mar 2005 14:52:18 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
On Tue, Mar 22, 2005 at 11:21:31AM -0800, Kyle S wrote:
> 
> 
> > > Thank you Mr. Bélanger Mr. Prokopski
> >
> > You're welcome.  We're happy that it helped.  BTW please drop the 
> > "Mr." or I'll
> > have to start using Mr. Kyle ;-)  [*]
> >
> 
> I wouldn't want that :-).  Then, Thank you David and Grzegorz
> 
> > Are you using GNU 'make'?  On some systems you might need to run
> > 'gmake' instead of 'make'.
> 
> I was using just 'make' but 'gmake' seems to fair no better.  It way
> however more informative.  'gmake' seems to be telling me the 'jikes'
> doesn't like to be called with '+Pno-shadow'
> 
> here is some of what I get, after typing 'gmake:'
> 
>     Making all in lib
>       ...
>     Adding java source files from srcdir '..'.
>     /usr/local/bin/jikes -q +Pno-shadow +F -bootclasspath '' 
> -extdirs '' -sourcepath
>      '' --classpath 
> ..:..vm/reference:../external/w3c_dom:../external/sax:.: -d . @
>     classes
>     Error: "no-shadow" is not a recongnized flag for controlling 
> pedantic warnings.
>       ...
>     gmake: *** [all-recusive] Error 1
> 

Hi Kyle,

Seems like your version of jikes does not support that flag.  Maybe not
recent enough?

You can remove it from: lib/Makefile.am and run ./autogen.sh to
regenerate Makefile.

Note: This flags simply turn off some compiler warnings, it does not
affect the result of compilation.

David

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt