From: John P. <jo...@ma...> - 2000-11-05 19:24:35
|
I started on seperation of the platfor dependent issues by creating three new directories under SOMELib: linux hpux and windows. I was creating functionality for directory loading when I relised that putting all this within #ifdefs in the BasicDynLib.cpp file was very messy. I decided then to take out all of the DynLib's (SODynLib, DLLDynLib, etc.) and place them within their own directory as simply DynLib.h and DynLib.cpp. I started with linux and havn't done hpux yet. Window is your bag since you need to update the project files for VC++. It should still compile under windows. All objects should now be named DynLib since the new build system simply creates a DynLib.o in the SOMELib directory by compiling from the appropriate configured platform directory. On another note this has forced me to fix the platform detection methods in the makefile and should now work for HPUX. I figured out some of the silly things that have hampered earlier detection efforts. Like forgetting to put spaces in the test (ie test "something"<space needed here>==<space needed here>"something"; then) Ah brings me back to my academic use of fortran: write("This is a 1 continuation of a line") write("Shit I get a compile error here because I forgot to space over 5 frigin columns") And people still use fortran :-) You don't want to hear my gripe with python and make using tabs as delimiters. -Quinticent |