This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Always create target tools in the gcc directory, take 6 (Re: [PATCH]gcc configure's determination of ld and as)

	* (gcc_cv_as, gcc_cv_ld): Examine MD_EXEC_PREFIX in
	tm files to determine compiler search path.  Kill code duplication.

I implemented this on top of the "always create gcc/as and friends" neverending stor^W^W patch.

Here is the new version, tested while working on gcc in various kinds of trees.

2005-05-18  Paolo Bonzini  <>
	    Daniel Jacobowitz  <>

	* (gcc_version): Set near the beginning.
	(as, ld, nm): Do not link in-tree tools.  Set gcc_cv_* if tools are
	found in the tree.  Use gcc_AC_PROG to find the tools in the system.
	(objdump): Do not look for it.
	* (NM_FOR_TARGET): Point to ./nm
	ORIGINAL_NM_FOR_TARGET): Substitute from autoconf.
	(as, ld, nm): New rules.
	( Depend on them.
	* aclocal.m4 (gcc_AC_TOOL_DIRS, gcc_AC_CHECK_TOOL,
	* configure: Regenerate.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]