* [patch] allow darwin as cross compile host
@ 2001-12-30 22:10 matthew green
2001-12-31 12:00 ` Stan Shebs
2002-01-02 18:51 ` Andrew Cagney
0 siblings, 2 replies; 4+ messages in thread
From: matthew green @ 2001-12-30 22:10 UTC (permalink / raw)
To: gdb-patches
hi folks.
i needed this patch to correctly guess to use "macos", as
configure.guess is giving me `powerpc-apple-darwin5.2'.
OK to commit?
.mrg.
* configure.host (powerpc-*-darwin*): Set gdb_host=macos.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.31
diff -p -r1.31 configure.host
*** configure.host 2001/12/17 16:23:02 1.31
--- configure.host 2001/12/31 06:05:49
*************** ns32k-*-netbsd*) gdb_host=nbsd ;;
*** 127,132 ****
--- 127,133 ----
powerpc-*-aix*) gdb_host=aix ;;
powerpc-*-linux*) gdb_host=linux ;;
powerpc-*-netbsd*) gdb_host=nbsd ;;
+ powerpc-*-darwin*) gdb_host=macos ;;
rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
rs6000-*-aix4*) gdb_host=aix4 ;;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] allow darwin as cross compile host
2001-12-30 22:10 [patch] allow darwin as cross compile host matthew green
@ 2001-12-31 12:00 ` Stan Shebs
2002-01-02 18:51 ` Andrew Cagney
1 sibling, 0 replies; 4+ messages in thread
From: Stan Shebs @ 2001-12-31 12:00 UTC (permalink / raw)
To: matthew green; +Cc: gdb-patches
matthew green wrote:
>
> hi folks.
>
> i needed this patch to correctly guess to use "macos", as
> configure.guess is giving me `powerpc-apple-darwin5.2'.
>
> OK to commit?
No, you don't want to use the "macos" host, since a) it's for
MacOS 7/8/9, and b) it's scheduled to be evaporated. Darwin
needs its own host file, which will resemble the FreeBSD config
more than anything else.
Stan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] allow darwin as cross compile host
2001-12-30 22:10 [patch] allow darwin as cross compile host matthew green
2001-12-31 12:00 ` Stan Shebs
@ 2002-01-02 18:51 ` Andrew Cagney
2002-01-03 1:26 ` Andrew Cagney
1 sibling, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2002-01-02 18:51 UTC (permalink / raw)
To: matthew green; +Cc: gdb-patches
Matthew,
Check the apple source dropping
(ftp://sources.redhat.com/pub/gdb/<something>/apple/
for what apple selected as the ``host name''.
I also consider it a bug that you even need to to be tweeking
configure.host to build a cross debugger. What happens if you just add
a wild card and set gdb_host to unknown (I'm guessing)?
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] allow darwin as cross compile host
2002-01-02 18:51 ` Andrew Cagney
@ 2002-01-03 1:26 ` Andrew Cagney
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2002-01-03 1:26 UTC (permalink / raw)
To: Andrew Cagney; +Cc: matthew green, gdb-patches
BTW, digging around I found:
case "${host}" in
*-*-nextstep*) gdb_host=nextstep ;;
*-apple-rhapsody*) gdb_host=rhapsody ;;
*-apple-macos10*) gdb_host=macosx ;;
*-apple-darwin*) gdb_host=macosx ;;
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-03 9:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-30 22:10 [patch] allow darwin as cross compile host matthew green
2001-12-31 12:00 ` Stan Shebs
2002-01-02 18:51 ` Andrew Cagney
2002-01-03 1:26 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox