From: Xiangfu Liu <xiangfu@openmobilefree.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] question about example/standalone/mips.lds
Date: Tue, 20 Jul 2010 13:24:53 +0800 [thread overview]
Message-ID: <4C453325.4080003@openmobilefree.net> (raw)
In-Reply-To: <20100719175103.BFF6C153A81@gemini.denx.de>
Hi
which compiler in ELDK if for the mips_el system?
I guess there are some different between ELDK cross compiler
and OpenWrt cross compiler.
so I want try ELDK cross compiler with my board.
I found there are two mips_el boards[1] in MAKEALL.
I want know how those two boards handle this example.
give me some advice. ( I am learning :)
by the way, here[2] is the error message with OpenWrt's
cross compiler.
thanks for all your help.
---
[1]
dbau1550_el \
pb1000 \
make -C examples/standalone all
make[1]: Entering directory `/home/xiangfu/workspace/PanGu/u-boot.upstream/examples/standalone'
mipsel-openwrt-linux-ld -g -Ttext 0x80200000 -T mips.lds \
-o hello_world -e hello_world hello_world.o libstubs.a \
-L/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3 -lgcc
mipsel-openwrt-linux-ld: hello_world.o: compiled for a little endian system and target is big endian
mipsel-openwrt-linux-ld: hello_world.o: endianness incompatible with that of the selected emulation
mipsel-openwrt-linux-ld: failed to merge target specific data of file hello_world.o
mipsel-openwrt-linux-ld: libstubs.a(stubs.o): compiled for a little endian system and target is big endian
mipsel-openwrt-linux-ld: libstubs.a(stubs.o): endianness incompatible with that of the selected emulation
mipsel-openwrt-linux-ld: failed to merge target specific data of file libstubs.a(stubs.o)
make[1]: *** [hello_world] Segmentation fault
make[1]: *** Deleting file `hello_world'
make[1]: Leaving directory `/home/xiangfu/workspace/PanGu/u-boot.upstream/examples/standalone'
make: *** [examples/standalone] Error 2
On 07/20/2010 01:51 AM, Wolfgang Denk wrote:
> In message<4C43CABB.3070302@openmobilefree.net> you wrote:
>>
>> in this file :" example/standalone/mips.lds "
>> it indicate compile example as BIG mips. but my device is LITTLE mips.
>> so I simply comment this line[1]. I found other boards compile fine. without any error.
>>
>> do I must compile this example?
>> is that ok to comment this line?
>> or what I need to to ?
>
> All MIPS boards in mainline build fine without such a change - both
> the BE and the LE ones.
>
> Best regards,
>
> Wolfgang Denk
>
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
next prev parent reply other threads:[~2010-07-20 5:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 3:47 [U-Boot] question about example/standalone/mips.lds "Xiangfu Liu(刘向富)"
2010-07-19 17:51 ` Wolfgang Denk
2010-07-20 5:24 ` Xiangfu Liu [this message]
2010-07-20 9:37 ` Wolfgang Denk
2010-07-20 14:28 ` Xiangfu Liu
2010-07-20 15:29 ` Andrew Dyer
2010-07-21 10:19 ` Xiangfu Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C453325.4080003@openmobilefree.net \
--to=xiangfu@openmobilefree.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox