This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: Patch to update libtool in GCC and Src trees


libtool@cwilson.fastmail.fm wrote:

I'll follow my own advice above, and give the result a try on native
cygwin just to sanity-check that the suggestion above doesn't break
"regular"(non-libtool) newlib builds, and report back later.  I may also
be able to attempt a standalone native linux build of newlib but that's
iffy.

Looks like it won't be as simple as I had hoped. When configuring in target-newlib (cygwin native) something strange is happening. It looks like Xsed somehow because undefined (even tho it worked earlier in the configure script), because I get lots of errors like:


/tmp/newlib/src/newlib/configure: line 11869: -e: command not found

arising from lines like this in the configure script:

AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'

I'm not sure why, and I can't investigate any futher until after the weekend. :-( I've attached the patch I was using, in addition to Steve's libtool.tar.gz. I reautotooled in newlib/ using 'aclocal;automake -cygnus;autoconf'.

--
Chuck
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/Makefile.am,v
retrieving revision 1.40
diff -u -r1.40 Makefile.am
--- Makefile.am	5 Jun 2006 17:42:57 -0000	1.40
+++ Makefile.am	12 May 2007 04:42:26 -0000
@@ -1,7 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = cygnus dejagnu
-ACLOCAL_AMFLAGS = -I .
+ACLOCAL_AMFLAGS = -I .. -I .
 
 # Multilib support variables.
 MULTISRCTOP =
Index: acinclude.m4
===================================================================
RCS file: /cvs/src/src/newlib/acinclude.m4,v
retrieving revision 1.27
diff -u -r1.27 acinclude.m4
--- acinclude.m4	18 Dec 2006 22:21:47 -0000	1.27
+++ acinclude.m4	12 May 2007 04:42:27 -0000
@@ -230,3 +230,9 @@
 AC_SUBST(machine_dir)
 AC_SUBST(sys_dir)
 ])
+
+sinclude([confsubdirs.m4])
+sinclude([../ltversion.m4])
+sinclude([../ltoptions.m4])
+sinclude([../ltsugar.m4])
+sinclude([../libtool.m4])

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