On Friday 21 December 2007, Riaz Ur Rahaman wrote: > Mike Frysinger wrote: > > On Friday 21 December 2007, riazrahaman wrote: > >> I have move the config.mk inclusion to the start of a the makefile. > >> > >> The reason for doing this is that the config.mk would have configuration > >> settings for my custom tool chain which I would want to set first. > > > > which doesnt make sense why you would move it. config.mk comes *after* > > the defaults so people can freely modify the defaults. by you moving it > > to the beginning, that explicit control is lost. > > As per the comments in the Makefile > > /_*# Alternately, to override them by editing this file, uncomment the > # following lines:* > _# CROSS_COMPILER=/opt/ppc64/powerpc64-linux/bin/powerpc64-linux- > # CROSS_CFLAGS= -mpowerpc64 > # LDFLAGS=-static > # LOADLIBES=-lpthread -lc -lresolv -lnss_dns -lnss_files -lm -lc > # LIB_DIR=/lib64 > # export LOADLIBES LIB_DIR > # > # Or, you can save all your settings into the local '_*config.mk*_' file. > # Just use the same syntax as above for the Makefile.
so this comment is a lie ... you cannot leverage config.mk exactly the same as if you edited the top of the Makefile file. i'll change the comment. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
