Subcommander & dependencies universal build

gcc4 only build

I had to fix a link in the universal sdk:

/Developer/SDKs/MacOSX10.4u.sdk/usr/lib root#
ln -s ../../System/Library/Frameworks/Kerberos.framework/Kerberos libkrb5support.dylib

which pointed to /System/... instead of ../../System/... !


gettext-0.16.1
subversion-1.4.3

this helps to check which libraries are used by the linker
LD_TRACE_DYLIBS=1


gettext:

apply localcharset patch to remove dupicate symbol warnings.

gettext-runtime/intl/Makefile.in
gettext-runtime/gnulib-lib/Makefile.in

gettext-tools/gnulib-lib/Makefile.in !?!?!


./configure
  --prefix=/Users/hauner/gettext-0.16.1
  --with-libiconv-prefix=/Developer/SDKs/MacOSX10.4u.sdk/usr
  --with-included-gettext
  --disable-dependency-tracking

make
  CFLAGS+="-arch ppc -arch i386"
  LDFLAGS+="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
  
  
  
subversion:

 LDFLAGS=-L/Users/hauner/gettext-0.16.1/lib
 CPPFLAGS=-I/Users/hauner/gettext-0.16.1/include
 ./configure
   --prefix=/Users/hauner/svn-1.4.3-static --with-ssl
   --disable-dependency-tracking --enable-shared=false
 
find . -name libtool
 
replace sys_lib stuff with:

# Compile-time system search path for libraries
sys_lib_search_path_spec="/Developer/SDKs/MacOSX10.4u.sdk/usr/lib"

# Run-time system search path for libraries
sys_lib_dlsearch_path_spec="/Developer/SDKs/MacOSX10.4u.sdk/usr/lib"

 
make
  CFLAGS+="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
  LDFLAGS+="-L/Users/hauner/gettext-0.16.1/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -bind_at_load"
  
  
  
  
  
Subcommander:

configure, see configure.sh

make
  CFLAGS+="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
  CXXFLAGS+="-I/Users/hauner/gettext-0.16.1/include -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
  LDFLAGS+="-bind_at_load -L/Users/hauner/gettext-0.16.1/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"