This is the mail archive of the crossgcc@sources.redhat.com 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] | |
This one took me a while to track down...
I've been setting TARGET=mipsel-unknown-linux-gnu, but settoolchain
wasn't listening. In settoolchain.sh, it says:
case $TARGET in
... snippage ...
*mipsle*) PTXARCH=MIPS ; PTXSUBARCH=MIPS_ARCH_LE ;;
*mips*) PTXARCH=MIPS ; PTXSUBARCH=MIPS_ARCH_BE ;;
... snippage
esac
Note how this doesn't match mipsel, but it does match mips. Ouch!
When I changed "*mipsle*" to read "*mipsel*", the settoolchain appears
to work fine.
I still haven't got ptx.sh to complete, because for some reason the
PTXCONF_TARGET_CONFIG_FILE="powerpc-405.dat" line isn't getting set
right. Still slugging away at that one...
Dave
--- ptxdist-testing-20031113/scripts/settoolchain.sh~ 2004-02-02
11:16:12.000000000 -0800
+++ ptxdist-testing-20031113/scripts/settoolchain.sh 2004-02-02
11:39:52.000000000 -0800
@@ -51,7 +51,7 @@
*powerpc-7450-*) PTXARCH=PPC; PTXSUBARCH=OPT_PPC7450;;
*powerpc*) PTXARCH=PPC ; PTXSUBARCH=OPT_PPC;;
*sparc*) PTXARCH=SPARC ;;
- *mipsle*) PTXARCH=MIPS ; PTXSUBARCH=MIPS_ARCH_LE ;;
+ *mipsel*) PTXARCH=MIPS ; PTXSUBARCH=MIPS_ARCH_LE ;;
*mips*) PTXARCH=MIPS ; PTXSUBARCH=MIPS_ARCH_BE ;;
*cris*) PTXARCH=CRIS ;;
*parisc*) PTXARCH=PARISC ;;
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |