Re: problems creating new cross-compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

If you don't have the arm-none-eabi-gcc, download it from:
http://www.codesourcery.com/gnu_toolchains/arm/download.html

Then, add its "bin" dir on PATH.

[]'s

David Cohen

On Dec 20, 2007 4:39 PM, Felipe Balbi <felipebalbi@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> First of all, send email to our new list:
> linux-omap@xxxxxxxxxxxxxxx
>
> On Dec 20, 2007 4:22 PM, Luís Vitório Cargnini <lvcargnini@xxxxxxxxx> wrote:
> > Dear colleagues,
> >
> > I having the following problem:
> > (enterprise:toolchain/build/gcc) lvcargnini% ../../sources/gcc-4.2.2/configure
> > --prefix=/opt/arm-linux --target=arm-linux --enable-cross --disable-threads
> > --enable-languages=c --disable-shared --disable-multilib
> > --enable-__cxa_atexit --with-float=softfp
> > --with-gxx-include-dir=/opt/arm-linux/arm-linux/include/g++-v3
> > --with-headers=/opt/arm-linux/arm-linux/include
> > loading cache ./config.cache
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... arm-unknown-linux-gnu
> > checking build system type... i686-pc-linux-gnu
> > checking for a BSD compatible install... /usr/bin/install -c
> > checking whether ln works... yes
> > checking whether ln -s works... yes
> > checking for gcc... arm-linux-gcc
> > checking whether the C compiler (arm-linux-gcc  ) works... no
> > configure: error: installation or configuration problem: C compiler cannot
> > create executables.
>
> Try the following:
> ./configure --target=arm-none-linux-gnueabi
> --program-prefix=arm-linux- --prefix=/usr/local --enable-shared
> --enable-threads --disable-libmudflap --disable-libssp
> --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld
> --enable-languages=c --with-newlib --disable-nls --with-headers=yes
> --enable-poison-system-directories  && make
>
>
> This might work ;-)
> --
> Best Regards,
>
> Felipe Balbi
> felipebalbi@xxxxxxxxxxxxxxxxxxxxx
> -
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux