Paolo Veronelli wrote:
Kevin Glynn wrote:

This looks like the emulator has crashed, can you build yourself a
debug version of the emulator?  This will have the assertion checks
turned on which will probably tell us why it has crashed.  Otherwise
we can at least connect ot the crashed emulator with gdb to see a
stack trace.

To build a debug version of the emulator add --enable-opt=debug when
running configure.

I tried
make CONFIGURE_ARGS="--enable-opt=debug"
to build the port with no success.
I hope a freebsd user can help me. :)

I have no idea about how things work on freebsd, but this is how I
compile in Ubuntu/Linux. I'm sorry if some things are obvious to you.
Source code goes in directory "mozart" and I build inside "build"

hobbes$ ls
build/ mozart/
hobbes$ cd build
hobbes$ ../mozart/configure --prefix=$INSTAL_DIR --enable-opt=debug

(The option of debug goes in the configuration, before make)

hobbes$ make depend
hobbes$ make bootstrap
hobbes$ make && make install


Is there any test suite I can launch on the system ?

yes, there is.

hobbes$ cd build/share/test
hobbes$ make                % to build de test
hobbes$ make boot-check     % to run the test suite

The test suite will check everything but distribution, if you read de
Makefile of that directory, you will see that boot-check will run with
the option --ignores=dp . I guess you really want to run this part.
Then, one option is to delete the ignores section and run again make
boot-check to really test everything... BUT, the dp test run using rsh,
which is not a good idea for security. What I do, is to have a symbolic
link from rsh to ssh, and then I use ssh-agent to avoid typing passwords
all the time.

You can run in the same directory

hobbes$ ./oztest --help

to see other possibilities about the test suite, like running a
particular test and not the whole thing

cheers
Boriss



Ciao ,
Paolino

___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com



_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to