[crosstool-ng/crosstool-ng] 586e30: Only create ${CT_TARGET}-cc${ext} symlink if ${CT_...

Bryan Hundven bryanhundven@gmail.com
Tue Apr 7 19:13:00 GMT 2015


  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 586e30f7267fd284b89a0b4419dc5b97a40d3b0f
      https://github.com/crosstool-ng/crosstool-ng/commit/586e30f7267fd284b89a0b4419dc5b97a40d3b0f
  Author: Johannes Pfau <johannespfau@gmail.com>
  Date:   2015-04-07 (Tue, 07 Apr 2015)

  Changed paths:
    M scripts/build/cc/gcc.sh

  Log Message:
  -----------
  Only create ${CT_TARGET}-cc${ext} symlink if ${CT_TARGET}-gcc exists

Without this canadion cross builds create invalid symlinks:
When the code in do_cc_core_backend is called there is no
${CT_TARGET}-gcc in the install directory. Therefore ext is empty and
we create a link to ${CT_TARGET}-gcc. The final compiler
step then installs ${CT_TARGET}-gcc.exe and creates a working
${CT_TARGET}-cc.exe symlink but we still keep the invalid link
as well.

Signed-off-by: Johannes Pfau <johannespfau@gmail.com>


  Commit: f54c5f674f618f0b57974857865d1e7b8e5a3916
      https://github.com/crosstool-ng/crosstool-ng/commit/f54c5f674f618f0b57974857865d1e7b8e5a3916
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-04-07 (Tue, 07 Apr 2015)

  Changed paths:
    M scripts/build/cc/gcc.sh

  Log Message:
  -----------
  Merge pull request #64 from jpf91/fixSymlink

Only create ${CT_TARGET}-cc${ext} symlink if ${CT_TARGET}-gcc exists


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/95ef22033ece...f54c5f674f61
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list