public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: Patch for make check failures on ARM Linux...
@ 1999-09-03 16:11 Philip Blundell
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Blundell @ 1999-09-03 16:11 UTC (permalink / raw)
  To: scottb; +Cc: binutils mailing list

>        * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
>          target "armv*-*-linux-gnu*"]

I think that target should be `arm*-*-linux-gnu*'.  Otherwise people who do 
"./configure arm-linux" will still get failures.

p.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch for make check failures on ARM Linux...
@ 1999-09-06  2:53 Nick Clifton
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 1999-09-06  2:53 UTC (permalink / raw)
  To: scottb; +Cc: binutils

Hi Scott,

: 1999-09-03  Scott Bambrough  <scottb@netwinder.org>
: 
:         * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
: 	  target "armv*-*-linux-gnu*"]

Applied, with Philip Blundell's suggestion of targeting
arm*-*-linux-gnu* applied as well.

Cheers
	Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Patch for make check failures on ARM Linux...
@ 1999-09-03 14:00 scottb
  0 siblings, 0 replies; 3+ messages in thread
From: scottb @ 1999-09-03 14:00 UTC (permalink / raw)
  To: binutils mailing list

Hi,

All the tests in ld/testsuite/ld-bootstrap/bootstrap.exp were failing. 
This was because HOSTING_CRT0 and HOSTING_LIBS were incorrect.  This
patch fixes this problem.

Scott

1999-09-03  Scott Bambrough  <scottb@netwinder.org>

        * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
	  target "armv*-*-linux-gnu*"]
Index: ld/configure.host
===================================================================
RCS file: /cvs/binutils/binutils/ld/configure.host,v
retrieving revision 1.5
diff -u -p -w -r1.5 configure.host
--- configure.host	1999/08/19 07:34:07	1.5
+++ configure.host	1999/09/02 21:04:40
@@ -35,6 +35,11 @@ alpha*-*-*)
   NATIVE_LIB_DIRS=/usr/ccs/lib
   ;;
 
+armv*-*-linux-gnu*)
+  HOSTING_CRT0='-p -dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ 	][ 	]*\(.*/ld-linux.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`'
+  HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
+  ;;
+
 i[3456]86-*-bsd* | i[3456]86-*-freebsd* | i[3456]86-*-netbsd*)
   # The new BSD `make' has a bug: it doesn't pass empty arguments in
   # shell commands.  So we need to make this value non-empty in order

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-09-06  2:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-03 16:11 Patch for make check failures on ARM Linux Philip Blundell
  -- strict thread matches above, loose matches on Subject: below --
1999-09-06  2:53 Nick Clifton
1999-09-03 14:00 scottb

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).