Building on Fedora

David Karlton dkarlton@themediamall.com
Thu Sep 22 00:00:00 GMT 2005



Josh Parsons wrote:
> On Tue, 2005-09-20 at 02:16 -0400, David Karlton wrote:
> 
>>I'm trying to build crosstool-0.38 on a number of linux installation 
>>(Suse 9.1, Fedora Core 2), and am having trouble with Fedora.  Notably, 
>>it is telling me that gcc 4.0.0 is too "old", when trying to build 
>>gcc-3.3.4-glibc-2.3.2 for mipsel.
> 
> 
> There is a known bug in glibc's configure script that causes this kind
> of trouble. Crosstool 0.38 distributes a patch for the problem with
> glibc-2.3.3 (and 2.2.5), but not for glibc-2.3.2. I expect that the
> 2.3.3 patch would apply to 2.3.2, so just copy 
> 
> patches/glibc-2.3.3/glibc-2.3.3-allow-gcc-4.0-configure.patch 
> 
> to 
> 
> patches/glibc-2.3.2
> 
> before using crosstool. Alternatively, if it is an option to use a more
> recent glibc, you could do that.
> 

Thanks for the input.  I am stuck with glibc-2.3.2, unfortunately (I'm 
building to a target device that I don't have control over).  I already 
modified the configure file in the glibc folder, after unpacking, to:

      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
      3.[2-9]*)
         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+    4.*)
+       ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;


Everything compiled now, with no problems!  (Woot, woot.)

(Now I just need to figure out why the cross-compiler pads everything I 
compile with 60k of dead air.)

dk


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list