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]

building crt1.o


While trying to grok newlib's build system, I noticed that crt1.o is
unlikely to be built correctly.  Patch attached.

2008-01-21  Neal H. Walfield  <neal@gnu.org>

	* Makefile.am (crt1.o): Use correct source.

Index: newlib/Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/Makefile.am,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile.am
--- newlib/Makefile.am	24 May 2007 17:33:29 -0000	1.41
+++ newlib/Makefile.am	21 Jan 2008 00:09:45 -0000
@@ -181,8 +181,8 @@ $(CRT0_DIR)$(CRT0): ; @true
 
 crt1.o: $(CRT1_DIR)$(CRT1)
 	rm -f $@
-	ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
-	 || cp $(CRT0_DIR)$(CRT0) $@
+	ln $< $@ >/dev/null 2>/dev/null \
+	 || cp $< $@
 
 $(CRT1_DIR)$(CRT1): ; @true
 


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