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] |
Note: forwarded message attached. __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
--- Begin Message ---
- From: Barisa kisku <b_kisku at yahoo dot co dot in>
- To: crossgcc at sources dot redhat dot com
- Date: Wed, 21 Mar 2007 05:50:06 +0000 (GMT)
- Authentication-results: mta121.mail.in.yahoo.com from=yahoo.co.in; domainkeys=pass (ok)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=lkT+Zththp4NgV7o5whTKCUh6RugWo9DQBCw9vzfZjfBS3yTx7odm0tt1mtSDqTKVKwNjIKmEOoVb+UitrxxmBnYJdSE2RGWssqXa02X23mKy0ut7KULg97S2DaGTCEvsdQk1h/SDTND7ZUBFk0jQrb6GqgmsXXUpQfrx9mS1S0=;
Hi, i have some problem in building linux 2.6.20 kernel for powerpc. Complete step i have used is as follows, My host machine : i386, linux2.4.7 Target : MPC860, for MBX, linux2.6.20 i) i built tool chain using binutils-2.17, gcc-core-4.1.1, gcc-g++-4.1.1, newlib-1.15.0 ii) Configured the toolchain using following option, binutils with following options : --host=i386-pc-linux --target=powerpc-eabi gcc with following options : --host=i386-pc-linux --target=powerpc-eabi --without-headers --with-newlib newlib with above option (same as binutils) again recompiled gcc after install nwelib-1.15.0 iii) Then i tried to build linux 2.6.20 for target with command line option ARCH=powerpc or ppc, CROSS_COMPILE=powerpc-eabi- Problems i faced : - When i build kernel with ARCH=powerpc for MPC8xx for MBX board following error is coming, undefined " Soft_emulate_8xx" ( drivers/built-in.o ) undefined "dma_pool_alloc" (drivers/built-in.o) then is it becoz of wrong compiler? is it becoz kernel configuration error?. (make menuconfig) or any other error? - with ARCH=ppc option error comes as undefined reference __eabi for (dummy.o in arch/boot/simple/dummy.o) is it becoz wrong compiler error ? it it becoz format kernel object file ( ELF/ EABI) mismtch? i think object file to be in EABI format, but those are in ELF format. - What is difference between "powerpc" and "ppc" sub-directory. - does powerpc-eabi-gcc is right compiler for both ppc and powerpc arch ( sub-directory) I am not able proceed to build kernel for MPC8xx for MBX. Probably these are stupid question. still i request you to help me.I am new to embedded/OS programming. thanks and regards, Barisa Kisku __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
--- End Message ---
-- 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] |