This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [patch] Set SER_HARDWIRE using autoconf
- To: ac131313 at cygnus dot com
- Subject: Re: [patch] Set SER_HARDWIRE using autoconf
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Wed, 5 Jul 2000 06:36:04 -0400 (EDT)
- CC: gdb-patches at sourceware dot cygnus dot com
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Wed, 05 Jul 2000 18:28:40 +1000
> From: Andrew Cagney <ac131313@cygnus.com>
>
> > Andrew,
> >
> > I didn't have time to actually test this change, but I think this is
> > wrong: the DJGPP port uses "i386-pc-msdosdjgpp" as the value of $host.
> > The value if ${gdb_host} is set to "go32", but I don't think you are
> > referencing that variable in configure.in (reproduced below), are you?
> >
> > I think to get this right, you need to allow both go32*-*-* and
> > *-*-*djgpp in ${host}.
>
> Up, yes. Does:
>
> case ${host} in
> *go32* ) SER_HARDWIRE=ser-go32.o ;;
> *djgpp* ) SER_HARDWIRE= ;;
> esac
>
> look safer?
No, you need to put ser-go32.o into SER_HARDWIRE in both of the above
cases.