Advertising
- Anonymous
- Wednesday, February 27th, 2008 at 1:42:38am MST
- Index: tools/configure
- ===================================================================
- --- tools/configure (revision 16431)
- +++ tools/configure (working copy)
- @@ -174,11 +174,18 @@
- fi
- }
- +#
- +# functions for setting up cross-compiler names and options
- +# also set endianess and what the exact recommended gcc version is
- +# the gcc version should most likely match what versions we build with
- +# rockboxdev.sh
- +#
- shcc () {
- prefixtools sh-elf-
- GCCOPTS="$CCOPTS -m1"
- GCCOPTIMIZE="-fomit-frame-pointer -fschedule-insns"
- endian="big"
- + gccchoice="4.0.3"
- }
- calmrisccc () {
- @@ -193,6 +200,7 @@
- GCCOPTS="$CCOPTS -m5206e -Wa\,-m5249 -malign-int -mstrict-align"
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="big"
- + gccchoice="3.4.6"
- }
- arm7tdmicc () {
- @@ -203,6 +211,7 @@
- fi
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="little"
- + gccchoice="4.0.3"
- }
- arm9tdmicc () {
- @@ -210,6 +219,7 @@
- GCCOPTS="$CCOPTS -mcpu=arm9tdmi -mlong-calls"
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="little"
- + gccchoice="4.0.3"
- }
- arm946cc () {
- @@ -217,20 +227,15 @@
- GCCOPTS="$CCOPTS -mcpu=arm9e -mlong-calls"
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="little"
- + gccchoice="4.0.3"
- }
- -arm9cc () {
- - prefixtools arm-elf-
- - GCCOPTS="$CCOPTS -mcpu=arm9 -mlong-calls"
- - GCCOPTIMIZE="-fomit-frame-pointer"
- - endian="little"
- -}
- -
- arm926ejscc () {
- prefixtools arm-elf-
- GCCOPTS="$CCOPTS -mcpu=arm926ej-s -mlong-calls"
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="little"
- + gccchoice="4.0.3"
- }
- arm1136jfscc () {
- @@ -238,6 +243,7 @@
- GCCOPTS="$CCOPTS -mcpu=arm1136jf-s -mlong-calls"
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="little"
- + gccchoice="4.0.3"
- }
- whichadvanced () {
- @@ -1720,8 +1726,29 @@
- GCCOPTS="$GCCOPTS -Wno-override-init"
- fi
- + case $prefix in
- + "")
- + # simulator
- + ;;
- + i586-mingw32msvc-)
- + # cross-compile for win32
- + ;;
- + *)
- + # Verify that the cross-compiler is of a recommended version!
- + if test "$gccver" != "$gccchoice"; then
- + echo "WARNING: Your cross-compiler $CC $gccver is not of the recommended"
- + echo "WARNING: version $gccchoice!"
- + echo "WARNING: This may cause your build to fail since it may be a version"
- + echo "WARNING: that isn't functional or known to not be the best choice."
- + echo "WARNING: If you suffer from build problems, you know that this is"
- + echo "WARNING: a likely source for them..."
- + fi
- + ;;
- + esac
- +
- fi
- +
- echo "Using $LD $ldver"
- # check the compiler for SH platforms
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.