This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Yet another set of crosstool-0.42-glibc-2.4-gcc-4.1.0-nptl patches


Hi
   Seems that everyone is winning now at making the new toolchain :)
Thanks folks!
but the Khem/Peter patches can't be added upstream since they break
other builds and don't handle the downloading phase (as well as
introducing three new variables where one suffices)

I've picked out the core knowledge from those patches and applied them
to bare crosstool-0.42 in a way that is orthogonal to the rest of
crosstool and doesn't break exiting configurations

- introduce a single new orthogonal variable,
GLIBCPORTS_FILENAME=glibc-ports-2.4
- make nptl be activated by the inclusion of "nptl" in the existing
GLIBC_ADDON_OPTIONS
- add tarball-downloading code for extra bits

This makes ARM EABI crosscompilers for C, C++ (currently testing gdb and kernel)
With the following earm.dat:

KERNELCONFIG=`pwd`/earm.config
TARGET=arm-unknown-linux-gnueabi
TARGET_CFLAGS="-O"

and the following latest.dat:

BINUTILS_DIR=binutils-2.16.91.0.7
GCC_DIR=gcc-4.1.0
LINUX_DIR=linux-2.6.16
GLIBC_DIR=glibc-2.4
GLIBCPORTS_FILENAME=glibc-ports-2.4
GLIBC_ADDON_OPTIONS=ports,nptl
GCC_EXTRA_CONFIG="--with-float=soft --enable-cxx-flags=-msoft-float"
GLIBC_EXTRA_CONFIG="--without-fp --disable-libunwind-exceptions"
GDB_DIR=gdb-6.4

(the EXTRA_CONFIG options here are Debian-ARM-EABI-specific)

I've checked backward compatability with the old "arm" demo and the
powerpc-750-tls builds, and hope this should now be ok to include in
the distro without breaking anything.

    M

Attachment: crosstool-0.42-mg2.patch
Description: Binary data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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