This is the mail archive of the gdb-prs@sources.redhat.com 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]

build/1649: building arm-gdb on darwin fails - solution provided


>Number:         1649
>Category:       build
>Synopsis:       building arm-gdb on darwin fails - solution provided
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 14 16:38:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     heiko.panther@web.de
>Release:        gdb-6.1
>Organization:
>Environment:
darwin
>Description:
Building the arm-specific directory "gdb/rdi-share" fails on darwin/Mac OS X, because two #defines don't catch that Darwin is an Unix and has sys/time.h.
>How-To-Repeat:

>Fix:
Replace
rdi-share/hostchan.h:26:
#if defined(__unix) || defined(__CYGWIN__)
with:
#if defined(HAVE_SYS_TIME_H)

Replace
rdi-share/hostchan.c:559:
#if !defined(__unix) && !defined(__CYGWIN__)
with:
#if !defined(HAVE_SYS_TIME_H)
>Release-Note:
>Audit-Trail:
>Unformatted:


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