This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

egcs 1.1b *-rtems



I needed the patch below my signature to get egcs 1.1b to work with RTEMS.

I think all newlib targets need a similar patch.

I would appreciate some commentary on it.

Mon Oct 12 13:29:17 CDT 1998  Joel Sherrill (joel@OARcorp.com)

       * Makefile.in: do not install assert.h if not desired.
       * config/t-rtems: do not install assert.h -- use newlib's.

diff -N -P -r -c /usr1/rtems/work/original/egcs-1.1b/gcc/Makefile.in egcs-1.1b/gcc/Makefile.in
*** /usr1/rtems/work/original/egcs-1.1b/gcc/Makefile.in	Thu Jul 30 07:52:17 1998
--- egcs-1.1b/gcc/Makefile.in	Mon Oct  5 15:46:51 1998
***************
*** 2004,2012 ****
  	      $(SHELL) $(srcdir)/$(FIXINCLUDES) include $$dir; \
  	    else true; fi; \
  	  done; \
! 	  rm -f include/assert.h; \
! 	  cp $(srcdir)/assert.h include/assert.h; \
! 	  chmod a+r include/assert.h; \
  	else true; \
  	fi
  	rm -f include/syslimits.h
--- 2004,2015 ----
  	      $(SHELL) $(srcdir)/$(FIXINCLUDES) include $$dir; \
  	    else true; fi; \
  	  done; \
! 	  if [ x$(INSTALL_ASSERT_H) != x ] ; \
! 	  then \
! 	    rm -f include/assert.h; \
! 	    cp $(srcdir)/assert.h include/assert.h; \
! 	    chmod a+r include/assert.h; \
! 	  fi \
  	else true; \
  	fi
  	rm -f include/syslimits.h
diff -N -P -r -c /usr1/rtems/work/original/egcs-1.1b/gcc/config/t-rtems egcs-1.1b/gcc/config/t-rtems
*** /usr1/rtems/work/original/egcs-1.1b/gcc/config/t-rtems	Mon Aug 11 10:57:16 1997
--- egcs-1.1b/gcc/config/t-rtems	Mon Sep 28 16:00:26 1998
***************
*** 1,2 ****
--- 1,6 ----
  # RTEMS uses newlib which does not require prototype fixing
  STMP_FIXPROTO =
+ 
+ # Don't install "assert.h" in gcc.  RTEMS uses the one in newlib.
+ INSTALL_ASSERT_H =
+ 



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