This is the mail archive of the crossgcc@sources.redhat.com 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]

about building bootstrap compiler with CROSSGCC-0.28-rc34


Hi ALL

I'm working on building arm-linux toolchain for GCC-3.4, xscale. I
used CROSSTOOL-0.28-rc34/arm-iwmmxt, but the toolchain encountered
problem when building a large c++ project. I had another arm-linux
toolchain for GCC-3.3.2, which is OK to build that project.

I checked the difference between this two toolchain, and thought it's
probably that the gcc-core building process causes the problem. The
old toolchain (GCC-3.3.2) used --with-inhibit-libc and
--without-headers in GCC-CORE/configure. But the new toolchain built
through CROSSTOOL is complex in building bootstrap compiler. I checked
the explanation in CROSSTOOL and specified URL, but didn't catch the
exact meaning. I'm continuing to check this process.

But I want to know why CROSSTOOL uses the complex script since the
simply configure option work fine? Is that mandotary for building
GCC-3.4? Thanks!


Following are the configure options of two toolchains:
NEW toolchain:
binutils-2.14.90.0.7/configure --target=arm-linux
--host=i686-host_pc-linux-gnu --prefix=/usr/local/arm-linux
--disable-nls --with-sysroot=/usr/local/arm-linux/arm-linux

glibc-2.3.2/configure --prefix=/usr --build=i686-pc-linux-gnu
--host=arm-linux --without-cvs --disable-sanity-checks
--with-headers=/usr/local/arm-linux/arm-linux/include
--enable-hacker-mode
 
gcc-3.4.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu
--prefix=/usr/local/arm-linux
--with-local-prefix=/usr/local/arm-linux/arm-linux --disable-multilib
--with-newlib --with-cpu=iwmmxt --enable-cxx-flags=-mcpu=iwmmxt
--without-headers --disable-nls --enable-threads=no
--enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c
--disable-shared --without-fp

glibc-2.3.2/configure --prefix=/usr --build=i686-pc-linux-gnu
--host=arm-linux --without-fp --without-cvs --disable-profile
--disable-debug --without-gd --without-tls --without-__thread
--disable-sanity-checks --enable-shared --enable-add-ons=linuxthreads,
--with-headers=/usr/local/arm-linux/arm-linux/include
--enable-kernel=2.4.3

gcc-3.4.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu
--prefix=/usr/local/arm-linux --with-cpu=iwmmxt
--enable-cxx-flags=-mcpu=iwmmxt
--with-headers=/usr/local/arm-linux/arm-linux/include
--with-local-prefix=/usr/local/arm-linux/arm-linux --disable-nls
--enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99
--enable-long-long --without-fp

OLD toolchain:
../binutils-2.14.90.0.7/configure --target=arm-linux
--prefix=/root/oldtool/arm-linux --disable-nls

../gcc-3.3.2-core/configure --target=arm-linux
--prefix=/root/oldtool/arm-linux
--with-local-prefix=/root/oldtool/arm-linux/arm-linux
--host=i686-host_pc-linux-gnu --disable-shared --disable-threads
--with-cpu=xscale --with-inhibit-libc --enable-languages=c
--without-headers --with-newlib --disable-nls --without-fp

../glibc-2.3.2/configure --prefix=/usr --host=arm-linux
--build=i686-pc-linux-gnu
--with-headers=/root/oldtool/arm-linux/arm-linux/include
--without-__thread --enable-add-ons=linuxthreads --enable-shared
--without-tls --without-fp --without-gd --disable-profile
--disable-debug --disable-sanity-checks --with-cpu=xscale

../gcc-3.3.2/configure --target=arm-linux
--host=i686-host_pc-linux-gnu --prefix=/root/oldtool/arm-linux
--with-cpu=xscale
--with-headers=/root/oldtool/arm-linux/arm-linux/include
--with-local-prefix=/root/oldtool/arm-linux/arm-linux --disable-nls
--enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99
--enable-long-long --without-fp
-- 
best regards,
-Bridge

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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