Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | ##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===## |
| 3 | # |
| 4 | # The LLVM Compiler Infrastructure |
| 5 | # |
Chris Lattner | 2a068da | 2007-12-29 20:46:15 +0000 | [diff] [blame] | 6 | # This file is distributed under the University of Illinois Open Source |
| 7 | # License. See LICENSE.TXT for details. |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 8 | # |
| 9 | ##===----------------------------------------------------------------------===## |
| 10 | # |
| 11 | # Synopsis: This shell script is a replacement for the old "gccld" tool that |
| 12 | # existed in LLVM versions before 2.0. The functionality of gccld has |
| 13 | # now been moved to llvm-ld. This shell script provides backwards |
| 14 | # compatibility so build environments invoking gccld can still get |
| 15 | # link (under the covers) with llvm-ld. |
| 16 | # |
| 17 | # Syntax: gccld OPTIONS... (see llvm-ld for details) |
| 18 | # |
| 19 | ##===----------------------------------------------------------------------===## |
| 20 | # |
| 21 | echo "gccld: This tool is deprecated, please use llvm-ld" 1>&2 |
| 22 | TOOLDIR=@TOOLDIR@ |
| 23 | $TOOLDIR/llvm-ld "$@" |