User:Wunderboy/sandbox
The following are various notes, scribbles, thoughts, etc. from doing various Source-type things. None of these are structured of "definate" - just things I write down for reference. If anything you find here is useful, great, but use it at your own risk!!!
This is a personal page on my own namespace. If you have anything to add, questions, comments, or managed to find something I didn't, please post on the talk page instead. Thanks!
Linux enviroment to build the SDK
The Compiling under Linux page states that GCC 3.4.X is recommended for compiling the SDK and that GCC 4.X doesn't work. Slackware 10 is recommended as a starting point.
Hmm, how to use newer Linux releases for compiling the SDK? Fedora Core 6 maybe? Ships with GCC 4.1.1 so need to get older version of GCC running...
- Install Fedora Core 6 (in my case on a virtual machine under VMWare)
- Run updates to make sure default packages are up-to-date.
- Install the older compat version of GCC, etc. (Can use the Add/Remove Software tool if you don't like the command line.)
yum install compat-gcc-34 yum install compat-gcc-34-g77 yum install compat-gcc-34-c++ yum install compat-libstdc++-33 yum install compat-db yum install compat-readline43
Not sure if I need the old Fortran/DB/Readline stuff but what the hey...
- Install Xerces
yum install xerces-c yum install xerces-c-devel yum install xerces-c-doc
- Check versions?
/usr/bin/gcc34 -v gcc version 3.4.6 20060404 (Red Hat 3.4.6-4)
ls -l /usr/lib/libxerces-c.so /usr/lib/libxerces-c.so -> libxerces-c.so.27.0
ls -l /lib/libc.* /lib/libc.so.6 -> libc-2.5.so
Not sure if last one counds as a valid check as it seems to be the current libc and not the compat version (where the heck did it install it?)
To-do: Set-up environment variables to point to older versions of compiler + lib and test compile.