Trouble putting together a glibc-2.3.5 addon for ColdFire
Peter Barada
peter@the-baradas.com
Mon Apr 25 00:01:00 GMT 2005
>-lgcc_eh is a thorn in my side, too.
>
>Here's the code I added in crosstool-0.31 to deal with a similar problem:
>while building glibc, I don't build its apps until after final gcc is built:
>
>if grep -l '^install-lib-all:' ${GLIBC_DIR}/Makerules > /dev/null; then
> # nptl-era glibc.
> # If the install-lib-all target (which is added by our make-install-lib-all.patch) is present,
> # it means we're building glibc-2.3.3 or later, and we can't build programs yet,
> # as they require libeh, which won't be installed until full build of gcc
> GLIBC_INITIAL_BUILD_RULE=lib
> GLIBC_INITIAL_INSTALL_RULE="install-lib-all install-headers"
>else
> # classic glibc.
> # We can build and install everything with the bootstrap compiler.
> GLIBC_INITIAL_BUILD_RULE=all
> GLIBC_INITIAL_INSTALL_RULE=install
>fi
>
>plus similar code at the bottom to build the apps
>that didn't get built before final gcc.
>
>This only triggers if you have applied
>patches/glibc-2.3.4/make-install-lib-all.patch
>
>Give that a shot by copying it to patches/glibc-2.3.5.
>(Note: another fix is required when building with old gcc's,
>I can give you that if you need it, or it'll be in crosstool-0.32).
I'll try upgradding to crosstool-0.31 to see if it works "seamlessly".
The version of crosstool I have is 0.28-rc34(or at least that is what
buildrm.sh has in it). Could you add a version line to crosstool.sh
so its *really* obvious?
--
Peter Barada
peter@the-baradas.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list