This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Build failure sim/rx on OSX.


Hello maintainers,

There are three issues on sim/rx.
1. A committer have forgot run autoheader.
2. There doesn't use config.h in main.c.
3. We should check if the host has getopt.h

The attached patch is enough to build on OSX host.
It's possible there are another issues around portability there.

Thanks,

sim/rx/ChangeLog
2010-01-30  Masaki Muranaka  <monaka@monami-software.com>

        * configure.in: Check if the host has getopt.h.
        * configure.in: Regenerate.
        * config.in: Regenerate.
        * main.c: Include config.h
	  Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
	  Include getopt.h in case HAVE_GETOPT_H is defined.

--
Masaki Muranaka
Monami software

Attachment: rx-sim-host-osx.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]