...making Linux just a little more fun!
Amit Kumar Saha [amitsaha.in at gmail.com]
Hi all,
I want to cross-compile a ARM Linux kernel (2.6.21.1) using gcc-4.1 on Ubuntu 7.04(i686) (2.6.20.15-generic). This will require a 'arm-linux-gcc' cross-compiler. Hence, to build the 'gcc-4.1' I started to build gcc for 'arm' target :
1. ./configure --target=arm 2. make [the dump is attached]The build process stops giving:
* Configuration arm-unknown-none not supported
How do I proceed beyond this?
Regards & Thanks, Amit
-- Amit Kumar Saha Writer, Programmer, Researcher http://amitsaha.in.googlepages.com http://amitksaha.blogspot.com
Amit Kumar Saha [amitsaha.in at gmail.com]
Hi all,
I want to cross-compile a ARM Linux kernel (2.6.21.1) using gcc-4.1 on Ubuntu 7.04(i686) (2.6.20.15-generic). This will require a 'arm-linux-gcc' cross-compiler. Hence, to build the 'gcc-4.1' I started to build gcc for 'arm' target :
1. ./configure --target=arm 2. make [the dump is attached]The build process stops giving:
* Configuration arm-unknown-none not supported
How do I proceed beyond this?
Regards & Thanks, Amit
-- Amit Kumar Saha *NetBeans Community Docs Coordinator* Writer, Programmer, Researcher http://amitsaha.in.googlepages.com http://amitksaha.blogspot.com
Neil Youngman [Neil.Youngman at youngman.org.uk]
On Monday 07 January 2008 15:24, Amit Kumar Saha wrote:
> Hi all, > > I want to cross-compile a ARM Linux kernel (2.6.21.1) using gcc-4.1 on > Ubuntu 7.04(i686) (2.6.20.15-generic). This will require a > 'arm-linux-gcc' cross-compiler. Hence, to build the 'gcc-4.1' I > started to build gcc for 'arm' target : > > 1. ./configure --target=arm > 2. make [the dump is attached] > > The build process stops giving: > > * Configuration arm-unknown-none not supported
I think it needs to be ./configure --target=arm-elf
See http://www.computingfreak.com/2007/04/22/build-your-own-arm-cross-compiler-toolchain/ (or http://tinylink.com/?2rgZjivhxp for the Google cache if the main link doesn't work for you)
HTH
Neil
Amit Kumar Saha [amitsaha.in at gmail.com]
On 1/7/08, Neil Youngman <[email protected]> wrote:
> On Monday 07 January 2008 15:24, Amit Kumar Saha wrote: > > Hi all, > > > > I want to cross-compile a ARM Linux kernel (2.6.21.1) using gcc-4.1 on > > Ubuntu 7.04(i686) (2.6.20.15-generic). This will require a > > 'arm-linux-gcc' cross-compiler. Hence, to build the 'gcc-4.1' I > > started to build gcc for 'arm' target : > > > > 1. ./configure --target=arm > > 2. make [the dump is attached] > > > > The build process stops giving: > > > > * Configuration arm-unknown-none not supported > > I think it needs to be ./configure --target=arm-elf
I do this and it start the 'make'. The compilation process continues, until it halts again:
gcc-4.1.2/gcc/cp/except.c:883: undefined reference to `libc_name_p' collect2: ld returned 1 exit status make[2]: * [cc1plus-dummy] Error 1Any hints?
Thanks & Regards, Amit
-- Amit Kumar Saha Writer, Programmer, Researcher http://amitsaha.in.googlepages.com http://amitksaha.blogspot.com
Neil Youngman [Neil.Youngman at youngman.org.uk]
On Monday 07 January 2008 19:21, Amit Kumar Saha wrote:
> On 1/7/08, Neil Youngman <[email protected]> wrote: > > On Monday 07 January 2008 15:24, Amit Kumar Saha wrote: > > I do this and it start the 'make'. The compilation process continues, > until it halts again: > > gcc-4.1.2/gcc/cp/except.c:883: undefined reference to `libc_name_p' > collect2: ld returned 1 exit status > make[2]: * [cc1plus-dummy] Error 1 > > Any hints?
I don't know any more than I found on Google. Did you read the links in my previous email?
Neil
Amit Kumar Saha [amitsaha.in at gmail.com]
On 1/8/08, Neil Youngman <[email protected]> wrote:
> On Monday 07 January 2008 19:21, Amit Kumar Saha wrote: > > On 1/7/08, Neil Youngman <[email protected]> wrote: > > > On Monday 07 January 2008 15:24, Amit Kumar Saha wrote: > > > > I do this and it start the 'make'. The compilation process continues, > > until it halts again: > > > > gcc-4.1.2/gcc/cp/except.c:883: undefined reference to `libc_name_p' > > collect2: ld returned 1 exit status > > make[2]: * [cc1plus-dummy] Error 1 > > > > Any hints? > > I don't know any more than I found on Google. Did you read the links in my > previous email?
I did have a look, but did not try doing as is mentioned here, just thought of asking you regarding the error.
I think I shall try doing that way now.
Thanks, Amit
-- Amit Kumar Saha *NetBeans Community Docs Coordinator* Writer, Programmer, Researcher http://amitsaha.in.googlepages.com http://amitksaha.blogspot.com
Chris Bannister [mockingbird at earthlight.co.nz]
On Tue, Jan 08, 2008 at 12:51:25AM +0530, Amit Kumar Saha wrote:
> I do this and it start the 'make'. The compilation process continues, > until it halts again: > > gcc-4.1.2/gcc/cp/except.c:883: undefined reference to `libc_name_p' > collect2: ld returned 1 exit status > make[2]: * [cc1plus-dummy] Error 1 > > Any hints?
Well, what does line 883 in gcc-4.1.2/gcc/cp/except.c say. I'm guessing that the file that has the code is'nt being included in the linking process. Could be an error in the make file.
-- Chris. ======