* support for GNU/FreeBSD
@ 2002-07-04 13:14 Bruno Haible
2002-07-04 13:59 ` David O'Brien
0 siblings, 1 reply; 3+ messages in thread
From: Bruno Haible @ 2002-07-04 13:14 UTC (permalink / raw)
To: binutils; +Cc: David O'Brien
Hi,
Some people are working on a system with glibc and FreeBSD kernel. This
system has been assigned the canonical target name i486-pc-freebsd[4.X]-gnu.
Here is a patch to add support for this system. On one hand, it uses
te-freebsd.h so that the assembler can be used for the FreeBSD kernel.
On the other hand, it defines _GNU_SOURCE, as usually recommended on
Linux.
Note that the first patch (below) needs to add support only for the
i386 version of FreeBSD; the alpha version of FreeBSD does not need
modifications to gas/configure.in.
gas/ChangeLog:
2002-07-04 Bruno Haible <bruno@clisp.org>
* configure.in: Add support for GNU/FreeBSD systems.
ChangeLog:
2002-07-04 Bruno Haible <bruno@clisp.org>
* configure.in: Add support for GNU/FreeBSD systems.
*** binutils-2.12.90.0.14/gas/configure.in.bak Wed Jun 19 06:41:59 2002
--- binutils-2.12.90.0.14/gas/configure.in Wed Jul 3 00:21:08 2002
***************
*** 277,282 ****
--- 277,283 ----
i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12])
fmt=aout em=386bsd ;;
changequote([,])dnl
+ i386-*-freebsd*-gnu*) fmt=elf em=freebsd bfd_gas=yes ;;
i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*)
fmt=coff ;;
i386-*-sco3.2v5*) fmt=elf
*** binutils-2.12.90.0.14/configure.in.bak Wed Jun 26 18:24:56 2002
--- binutils-2.12.90.0.14/configure.in Wed Jul 3 00:21:08 2002
***************
*** 377,383 ****
alpha*-*-*)
target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
;;
! *-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-linux"
;;
*-*-aix4.[3456789]* | *-*-aix[56789].*)
--- 377,383 ----
alpha*-*-*)
target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
;;
! *-*-linux* | *-*-freebsd*-gnu*)
target_makefile_frag="${target_makefile_frag} config/mt-linux"
;;
*-*-aix4.[3456789]* | *-*-aix[56789].*)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: support for GNU/FreeBSD
2002-07-04 13:14 support for GNU/FreeBSD Bruno Haible
@ 2002-07-04 13:59 ` David O'Brien
2002-07-04 14:20 ` Bruno Haible
0 siblings, 1 reply; 3+ messages in thread
From: David O'Brien @ 2002-07-04 13:59 UTC (permalink / raw)
To: Bruno Haible; +Cc: binutils
On Thu, Jul 04, 2002 at 08:05:11PM +0200, Bruno Haible wrote:
> gas/ChangeLog:
> 2002-07-04 Bruno Haible <bruno@clisp.org>
>
> * configure.in: Add support for GNU/FreeBSD systems.
> *** binutils-2.12.90.0.14/gas/configure.in.bak Wed Jun 19 06:41:59 2002
> --- binutils-2.12.90.0.14/gas/configure.in Wed Jul 3 00:21:08 2002
> ***************
> *** 277,282 ****
> --- 277,283 ----
> i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12])
> fmt=aout em=386bsd ;;
> changequote([,])dnl
> + i386-*-freebsd*-gnu*) fmt=elf em=freebsd bfd_gas=yes ;;
This shouldn't be needed. The catch all:
*-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;;
(line 991, rev 1.109) should work for "i386-*-freebsd*-gnu*" also.
--
-- David (obrien@FreeBSD.org)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: support for GNU/FreeBSD
2002-07-04 13:59 ` David O'Brien
@ 2002-07-04 14:20 ` Bruno Haible
0 siblings, 0 replies; 3+ messages in thread
From: Bruno Haible @ 2002-07-04 14:20 UTC (permalink / raw)
To: obrien; +Cc: binutils
David O'Brien writes:
> > + i386-*-freebsd*-gnu*) fmt=elf em=freebsd bfd_gas=yes ;;
>
> This shouldn't be needed. The catch all:
>
> *-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;;
>
> (line 991, rev 1.109) should work for "i386-*-freebsd*-gnu*" also.
It *is* needed because the catch-all line
i386-*-gnu*) fmt=elf ;;
comes earlier and therefore takes precedence over the line that you
mention.
Bruno
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-04 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-04 13:14 support for GNU/FreeBSD Bruno Haible
2002-07-04 13:59 ` David O'Brien
2002-07-04 14:20 ` Bruno Haible
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).