[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] simulavr on 'bsd
From: |
Theodore A. Roth |
Subject: |
Re: [Simulavr-devel] simulavr on 'bsd |
Date: |
Mon, 7 Jan 2002 22:06:36 -0700 (MST) |
On Mon, 7 Jan 2002, address@hidden wrote:
:)just tried to compile simulavr on netbsd 1.5.1 again.
:)
:)it does pretty well on portability. but a couple things appear broken:
:)
:)1) ../simulavr/src/disp/disp.c:541: undefined reference to `resizeterm'
:) this is an ncurses thing, and netbsd doesn't grok ncurses that well.
:) it's theoretically possible to install ncurses, but i've never been
able to.
:) i'd suggest replacing it with some curses least-common-denominator,
:) if such a thing exists.
I'll have to see what I can find. Might be able to fix it up before 13 is
out.
:)
:)2) on_exit again. i'd hacked main.c to use atexit instead as a workaround.
:) on_exit appears to be a gnu thing, neither netbsd nor freebsd 4.3 have
it.
:) atexit semantics are different too, there's no way to pass a void * arg.
This should be easy. I'll get it fixed tonight and check it in.
:)
:)3) texi is a NOP on netbsd. probably makes sense to do an AC_PROGRAM for it,
:) and fail to ./configure without it, or allow an option to build w/o it.
Might have to defer this to 0.0.14 after I get back from my trip.
:)
:)4) the use of times() in utils.c:get_program_time is broken on netbsd.
:) compiles fine, but causes segfaults. urk.
:) the netbsd docs recommend using gettimeofday() instead.
I'll have to think a bit on this one. Again, might defer to 14.
:)
:)and that was it. not too bad, but it won't build and run
:)out-of-the-box on the bsd's as it stands now. i would guess the
:)ncurses stuff would be an obstacle on solaris, too, and possibly
:)on_exit as well.
I'm sure there's many a portability problem in the code. All I've got is
linux so I can't test much. We'll have to take those lumps as they come
for now.
Ted
- [Simulavr-devel] simulavr on 'bsd, ken, 2002/01/07
- Re: [Simulavr-devel] simulavr on 'bsd,
Theodore A. Roth <=
- Re: [Simulavr-devel] simulavr on 'bsd, Theodore A. Roth, 2002/01/08
- Re: [Simulavr-devel] simulavr on 'bsd, Theodore A. Roth, 2002/01/08
- Re: [Simulavr-devel] simulavr on 'bsd, ken restivo, 2002/01/08
- Re: [Simulavr-devel] simulavr on 'bsd, Theodore Roth, 2002/01/08
- Re: [Simulavr-devel] simulavr on 'bsd, Theodore A. Roth, 2002/01/09
- Re: [Simulavr-devel] simulavr on 'bsd, ken restivo, 2002/01/09
- Re: [Simulavr-devel] simulavr on 'bsd, Theodore A. Roth, 2002/01/09
- Re: [Simulavr-devel] simulavr on 'bsd, ken restivo, 2002/01/09