On Thu, Jan 28, 2010 at 11:00:16AM -0700, Elden Crom wrote:
> 
> I'm currently trying to compile 
> wget 
> http://www.promotionalpromos.com/mirrors/gnu/gnu/gcc/gcc-4.3.3/gcc-4.3.3.tar.bz2
> wget 
> http://www.promotionalpromos.com/mirrors/gnu/gnu/binutils/binutils-2.20.tar.bz2
> svn checkout -r svn://sources.blackfin.uclinux.org/toolchain/trunk/elf2flt 
> elf2flt
> 
> (binutils 2.19 didn't want to compile under my gcc version 4.4.1, but that 
> was just a warning turned into an error so I may revisit that.)
> 
> The options that I have tried so far are 
> ../gcc-4.*/configure --target=m68k-uclinux --enable-multilib --disable-libssp 
> --enable-languages=c,c++
> but since gcc does not do the libstdc++ without executing on the host I I 
> couldn't find a command line option to disable it, I
> removed it from configure by brute force.....
> 
> sed configure  -i.bck -e "s/noconfigdirs=\"\"/noconfigdirs=\"\" 
> #EWC\nnoconfigdirs=\"target-libstdc++-v3\" #EWC/"
> 
> which compiles......but is there a better way? either an option to turn it of 
> or better yet a way of telling libstdc++ the answers without running on the 
> target?....something else?

I did it using:

--- gcc-4.3-m68k-uclinux-4.3.3.orig/configure
+++ gcc-4.3-m68k-uclinux-4.3.3/configure
@@ -2193,6 +2193,7 @@
     ;;
   *-*-uclinux*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda 
${libgcj}"
+    noconfigdirs="$noconfigdirs target-libstdc++-v3"
     ;;
   *-*-vxworks*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty 
target-libstdc++-v3 ${libgcj}"

I think that's what your sed command essentially does too.

-- 
Len Sorensen
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to