This is the mail archive of the gcc-patches@gcc.gnu.org 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]

Re: [doc] DESTDIR and tooldir


Hello,

to shorten the DESTDIR description, I have removed the general
discussion about DESTDIR vs. prefix.  (It's not specifc to GCC and
would fit better into `make-stds.texi'.)

The patch can be applied to gcc-3_2-branch (if the
corresponding DESTDIR patch gets approved), gcc-3_3-branch, and
mainline.

There is one thing left that I'd like to get checked: Due to lack of
cross-compiler setups, I have learned the tooldir installation
behavior from Makefile fragments only.  That is, there has been no
actual test run of the following (pseudo shell code):

	rm -rf ${DESTDIR}
	make DESTDIR=${DESTDIR} install
	# should not create tooldirs within ${DESTDIR}

	./mkinstalldirs ${DESTDIR}${exec_prefix}/${target_alias}/bin
	make DESTDIR=${DESTDIR} install
	# should fill the above tooldir with cross-compiler execs

Could someone with a cross-compiler setup (e.g. ix86->ppc) check this?
And, should we have to wait for this to happen?

Regards,

Christian Cornelssen

Attachment: destdir-doc9-3.2.diff
Description: Text document

Attachment: ChangeLog.gcc.destdir-doc
Description: Text document


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