How to generate a cross tool for my reqirement?
Michael
mikore.li@gmail.com
Wed Aug 10 07:49:00 GMT 2005
We have already a cross compiler which comes from this crosstool also,
when issue --v will get:
Configured with:
/xxx/crosstool-0.27/build/arm-softfloat-linux-gnu/gcc-3.3.2-glibc-2.3.2/gcc-3.3.2/configure
--target=arm-softfloat-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.2-glibc-2.3.2
--with-float=soft
--with-headers=/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-softfloat-linux-gnu/include
--with-local-prefix=/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-softfloat-linux-gnu
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared
--enable-c99 --enable-long-long
Thread model: posix
gcc version 3.3.2
We use it to compile multithread applications run on 2.4.x kernel.Now,
what I want indeed, is to replace it with latest crosstool that can
support 2.6.x kernel, multithread, kernel build.... So,
demo-arm-xscale.sh with my choice of gcc-glibc will meet the
requirement.
Right?
Thanks,
Michael
On 8/10/05, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote:
> Quoting Michael <mikore.li@gmail.com>:
> > I selected demo-arm-xscale.sh and modified it as following:
> > # eval `cat arm-xscale.dat gcc-3.4.2-glibc-20040827.dat` sh all.sh --notest
> > eval `cat arm-xscale.dat gcc-3.4.4-glibc-2.3.5.dat ` sh all.sh --notest
> > now, it is in building the toolchain.
> > Can this toolchain meet all my requirement? I am not sure where to
> > select threads option.
>
> In the file 'gcc-3.4.4-glibc-2.3.5.dat', there is the line:
> GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.5
>
> Which means that glibc will be built with the LinuxThreads extension, which is
> for now the only way to do threads on ARM.
>
> Regards,
> Yann E. MORIN.
>
> --
> Yann E. MORIN
> Roaming in the world...
>
------
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