Subj : Makefiles To : Angus Mcleod From : Digital Man Date : Mon Jan 10 2005 04:41 pm Re: Makefiles By: Angus Mcleod to Deuce on Sun Jan 09 2005 11:16 pm > Re: Makefiles > By: Deuce to Angus Mcleod on Sun Jan 09 2005 19:19:00 > > > > Can you tell me where $(LIBODIR) and $(EXEODIR) are defined? > > > > build/Common.gmake > > Yeah. What about adding a timestamp to them at build-time, and > sym-linking them back to the default name? I've got (for instance) > > /sbbs/src/sbbs3/gcc.linux.exe.debug -> gcc.linux.20050101-210142.exe.debug > /sbbs/src/sbbs3/gcc.linux.lib.debug -> gcc.linux.20050101-210142.lib.debug That might be pretty confusing for new *nix sysops, but it's a thought. Sort of an auto-backup thing. > and all the executables linked too: > > /sbbs/exec/sbbs -> ../src/sbbs3/gcc.linux.exe.debug/sbbs > /sbbs/exec/sbbsecho -> ../src/sbbs3/gcc.linux.exe.debug/sbbsecho > > and so on, but I do it manually. If I do a build and something breaks, I > just relink back to the previous (or any earlier, working) build. > > Another suggestion for a revision to sbbsunix.txt: > > Instead of copying or symlinking libraries into /usr/lib, why not simply > add them to /etc/ld.so.conf and run ldconfig? is /etc/ld.so.conf ubiqutous amongst all *nix? Or just Linux? Or just some distros? digital man Snapple "Real Fact" #108: Licking a stamp burns 10 calories. .