[U-Boot-Users] Re: MIPS LE build problems

Wolfgang Denk wd at denx.de
Thu Aug 18 10:46:58 CEST 2005


In message <1124346699.11376.9.camel at localhost.localdomain> you wrote:
> 
> Yes, you need to export the CROSS_COMPILE.

Of course I did. See the examples I posted.

> I checked previous messages and you said you have the same compiler
> and with different names of the links that points to it.
> /opt/eldk/usr/bin/mips_4KC-gcc -> mips-linux-gcc
> /opt/eldk/usr/bin/mips_4KCle-gcc -> mips-linux-gcc

Right.

> Where do you configure the options that this two "different" compilers
> use? DMIPSEB  -D_MIPSEB for mips_4KC-gcc or -D_MIPSEL -D__MIPSEL
> -D__MIPSEL__ -DMIPSEL for mips_4KCle-gcc?

The gcc compiler driver reads and evaluates (1) the name under  which
the  binary  was  called  and  (2)  the  content of the CROSS_COMPILE
environment variable.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Behind every great man, there is a woman -- urging him on.
	-- Harry Mudd, "I, Mudd", stardate 4513.3




More information about the U-Boot mailing list