building crt1.o

Jeff Johnston jjohnstn@redhat.com
Mon Jan 21 21:17:00 GMT 2008


Patch applied.

Thanks,

-- Jeff J.

Neal H. Walfield wrote:
> 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
>  
> 



More information about the Newlib mailing list