On Wed, Jan 17, 2007 at 03:13:04PM +0100, Ladislav Michl wrote: > This patch updates install_copy_toolchain_dl to current copy toolchain > mechanism. As a side effect install_copy_toolchain_dl works again for my > uClibc based toolchain. > > I do not think passing LINKER parameter to install_copy_toolchain.sh > script is bullet proof and I hope someone will be able to come with > better solution :-)
later, but not before the release.... > Index: scripts/install_copy_toolchain.sh > =================================================================== > --- scripts/install_copy_toolchain.sh (revision 6876) > +++ scripts/install_copy_toolchain.sh (working copy) > @@ -32,6 +32,21 @@ > > > # > +# out: dynamic linker name > +# > +ptxd_get_dl() { > + local dl > + > + dl="`echo 'int main(void){return 0;}' | \ > + ${CC} -x -c -o /dev/null -v - 2>&1 | \ ^^ it must be "c" not "-c". "-x" specifies which languarge the input file has [1]... Marc [1] man gcc | egrep -A11 -- " -x language$" -- Dipl.-Ing. Marc Kleine-Budde | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 -- ptxdist mailing list ptxdist@pengutronix.de