This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The current cc installation process makes a ${CT_PREFIX_DIR}/bin/${CT_TARGET}-cc softlink which links to gcc using an absoulte path. For those of us wanting to relocate the built toolchain elsewhere when this is finished (hopefully fix-embedded-paths is no longer needed :), this is not a good idea. This patch causes the installation process to make ${CT_PREFIX_DIR}/bin/${CT_TARGET}-cc a relative link to ${CT_TARGET}-gcc in its current directory (${CT_PREFIX_DIR}/bin). Index: scripts/build/cc/gcc.sh =================================================================== --- scripts/build/cc/gcc.sh (revision 1158) +++ scripts/build/cc/gcc.sh (working copy) @@ -297,7 +297,7 @@ # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able # to call the C compiler with the same, somewhat canonical name. - ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}"-{g,}cc 2>&1 |CT_DoLog ALL + ln -sv "${CT_TARGET}"-gcc "${CT_PREFIX_DIR}/bin/${CT_TARGET}"-cc 2>&1 |CT_DoLog ALL CT_EndStep } -- Nye Liu nliu@mrv.com (818) 772-6235x248 (818) 772-0576 fax "Who would be stupid enough to quote a fictitious character?" -- Don Quixote -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |