Subject: Re: different behaviour of system cc and TOOLDIR/cc
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-toolchain
Date: 06/10/2003 21:02:25
This is a multipart MIME message.
--==_Exmh_17530206356300
Content-Type: text/plain; charset=us-ascii
thorpej@wasabisystems.com said:
> possibility of the GCC-provided crtbegin/crtend being in a different
> location from ${DESTDIR}/usr/lib
Something like appended?
best regards
Matthias
--==_Exmh_17530206356300
Content-Type: text/plain ; name="bsdgccmk.txt"; charset=us-ascii
Content-Description: bsdgccmk.txt
Content-Disposition: attachment; filename="bsdgccmk.txt"
*** bsd.gcc.mk.~1.1.~ Sat May 31 22:33:15 2003
--- bsd.gcc.mk Tue Jun 10 20:58:52 2003
***************
*** 8,13 ****
--- 8,14 ----
_GCC_CRTBEGINS!= ${CC} --print-file-name=crtbeginS.o
_GCC_CRTEND!= ${CC} --print-file-name=crtend.o
_GCC_CRTENDS!= ${CC} --print-file-name=crtendS.o
+ _GCC_CRTDIR!= dirname ${_GCC_CRTBEGIN}
_GCC_LIBGCCDIR!= dirname `${CC} --print-libgcc-file-name`
.else
_GCC_CRTBEGIN= ${DESTDIR}/usr/lib/crtbegin.o
***************
*** 14,19 ****
--- 15,21 ----
_GCC_CRTBEGINS= ${DESTDIR}/usr/lib/crtbeginS.o
_GCC_CRTEND= ${DESTDIR}/usr/lib/crtend.o
_GCC_CRTENDS= ${DESTDIR}/usr/lib/crtendS.o
+ _GCC_CRTDIR= ${DESTDIR}/usr/lib
_GCC_LIBGCCDIR= ${DESTDIR}/usr/lib
.endif
--==_Exmh_17530206356300--