This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: patch for compiles that don't define "unix"
- To: matthew green <mrg at cygnus dot com>
- Subject: Re: patch for compiles that don't define "unix"
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Sun, 14 Jan 2001 11:10:10 -0500
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat Canada
- References: <22097.979473536@cygnus.com>
Hi Matthew,
Sorry for the delay.
This is not the proper fix though. The rdi-share subdirectory is
supposed to
contain code shared with ARM, so we shouldn't make local modifications
in there
(unless absolutely necessary).
In this case we are better off with a more general fix that will solve
all possible
occurrences of the lack of "unix" problem.
You should define this symbol through some configuration test that
results in
a -Dunix being generated. This way you do not change the files in a
"share"
directory and fix this all around and even catch something that people
add in
the future.
Regards,
Fernando
matthew green wrote:
>
> hi folks.
>
> could someone please approve & apply the patch from
>
> http://sources.redhat.com/ml/gdb-patches/2000-12/msg00156.html
>
> thanks,
>
> .mrg.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9