makelocalrc for Ubuntu 11.10

Here is changes to makelocalrc for Ubuntu 11.10 from 11.9 compilers, to make it work:

*** makelocalrc.bak	Wed Oct  5 01:08:17 2011
--- makelocalrc	Sun Oct 23 15:20:31 2011
***************
*** 128,133 ****
--- 128,135 ----
      LIBC=/lib64/libc.so.6  # should only exist on a 64-bit Linux OS.
    elif test -r /lib64/x86_64-linux-gnu/libc.so.6 ; then
      LIBC=/lib64/x86_64-linux-gnu/libc.so.6  # new Ubuntu 64-bit Linux OS.
+   elif test -r /lib/x86_64-linux-gnu/libc.so.6 ; then
+     LIBC=/lib/x86_64-linux-gnu/libc.so.6  # new Ubuntu 64-bit Linux OS.    
    elif test -r /lib/libc.so.6 ; then
      LIBC=/lib/libc.so.6    # should exist on any Linux OS.
    elif test -r /lib/i386-linux-gnu/libc.so.6 ; then
***************
*** 391,398 ****
    linux86-64:x86_64 )
      gccopt="-o $scratch/a.out -v"
      g77opt=$gccopt
!     lib=/lib64
!     ublib=/lib64/x86_64-linux-gnu
      usrlib=/usr/lib64
      install_64_bit=1
      use_64bit_rcfiles=0
--- 393,400 ----
    linux86-64:x86_64 )
      gccopt="-o $scratch/a.out -v"
      g77opt=$gccopt
!     lib=/lib
!     ublib=/lib/x86_64-linux-gnu
      usrlib=/usr/lib64
      install_64_bit=1
      use_64bit_rcfiles=0
***************
*** 539,545 ****
    echo "ERROR: gcc failed to execute for reasons unknown."
    quit 1
  fi
! 
  gccbase=`"$gcc" -print-search-dirs | sed -e 's/^install: //' -e 's/\/$//' -e 1q`
  if test -d "$gccbase"$subdir ; then
    GCCDIR="$gccbase$subdir"
--- 541,548 ----
    echo "ERROR: gcc failed to execute for reasons unknown."
    quit 1
  fi
! LANG=en_US
! export LANG
  gccbase=`"$gcc" -print-search-dirs | sed -e 's/^install: //' -e 's/\/$//' -e 1q`
  if test -d "$gccbase"$subdir ; then
    GCCDIR="$gccbase$subdir"

Also, localrc requires extra pointing two variables for crt1.o:

set DEFLIBDIR=/usr/lib/x86_64-linux-gnu;
set DEFSTDOBJDIR=/usr/lib/x86_64-linux-gnu;