[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to build on FreeBSD



> I haven't yet been able to run a test though. This page
> <http://www.openmirage.org/wiki/hello-world> says to do this:
> 
> $ cd mirage.git/tests/basic/sleep
> $ mir-unix-direct sleep.bin
> $ ./_build/sleep.bin
> 
> But that seems obsolete... the sleep files are now underneath
> regress/basic, not tests/basic. And I don't have any mir-unix-direct on
> my system, either in the source directory or in the install folder.
> Should I use `mir-build`, which is installed in the install folder? When
> I do so, I see some processing go on, but then I fail...


This seems to work:

.../mirage/git.build/regress/basic $ mir-build unix-direct/sleep.bin
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 18 targets (0 cached) in 00:00:00.

.../mirage/git.build/regress/basic $ ./_build/unix-direct/sleep.bin 
Main: startup
start: four
four 1
start: three
three 1
start: two
two 1
start: one
one 1
Devices: [Unix.Blkif] provider start
Main: entering runloop
four 2
one 2
two 2
three 2
four 3
one 3
two 3
three 3
four 4
one 4
four 5
done: two
one 5
three 4
done: four
done: one
done: three
Main: end
-- 
Jim Pryor
jim@xxxxxxxxxxxx




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.