------- Additional Comments From nickc at redhat dot com 2007-05-24 10:14 ------- Subject: Re: MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?
Hi Vincent, > Sorry, it doesn't work. The filesystem is always considered in binmode. > This is because you forgot the brackets in the awk regular expression ! I did ? > Here is the fixed line : > build_dir_mount_point=`df ${build_dir} | awk '/[0-9]%/{print $NF;}'` Hmm, that looks just like the version I have here. Strange. > With this, a textmode filesystem fails as expected ! Good. > However, a textmode filesystem mounted in /mnt/cabinmodern is detected as > binmode and doesn't fail. Unfortunately, I always build my binutils in this > directory :-) Oh come on, seriously ? OK, then we need a tighter grep. Something like: is_binmode=`mount | grep "${build_dir_mount_point} " | grep "\(binmode\)"` Would you like to try this out please ? Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=4334 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils