From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matej Kupljen Date: Thu, 18 Aug 2005 08:31:39 +0200 Subject: [U-Boot-Users] Re: MIPS LE build problems In-Reply-To: <20050817134425.1116E353CFF@atlas.denx.de> References: <20050817134425.1116E353CFF@atlas.denx.de> Message-ID: <1124346699.11376.9.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi > > How about something like: > > # ${CROSS_COMPILE}gcc -dumpspecs > > Doesn't work for me. Yes, you need to export the CROSS_COMPILE. > > In my case (little endian): > > *multilib_defaults: > > EL mips1 mabi=32 > > -> export CROSS_COMPILE=mips_4KC- > -> mips_4KC-gcc -dumpspecs > ... > *multilib_defaults: > EB mips1 mabi=32 > > -> export CROSS_COMPILE=mips_4KCle- > -> mips_4KCle-gcc -dumpspecs > ... > *multilib_defaults: > EB mips1 mabi=32 > > But mips_4KCle-gcc _does_ build LE code just fine ... 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 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? BR, Matej