#!/bin/sh
##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===##
# 
#                     The LLVM Compiler Infrastructure
#
# This file was developed by Reid Spencer and is distributed under the
# University of Illinois Open Source License. See LICENSE.TXT for details.
# 
##===----------------------------------------------------------------------===##
#
# Synopsis: This shell script is a replacement for the old "gccld" tool that
#           existed in LLVM versions before 2.0. The functionality of gccld has
#           now been moved to llvm-ld. This shell script provides backwards 
#           compatibility so build environments invoking gccld can still get 
#           link (under the covers) with llvm-ld.
#
# Syntax:   gccld OPTIONS... (see llvm-ld for details)
# 
##===----------------------------------------------------------------------===##
#
echo "gccld: This tool is deprecated, please use llvm-ld"
TOOLDIR=@TOOLDIR@
$TOOLDIR/llvm-ld "$@"

#!/bin/sh
##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===##
# 
#                     The LLVM Compiler Infrastructure
#
# This file was developed by Reid Spencer and is distributed under the
# University of Illinois Open Source License. See LICENSE.TXT for details.
# 
##===----------------------------------------------------------------------===##
#
# Synopsis: This shell script is a replacement for the old "gccld" tool that
#           existed in LLVM versions before 2.0. The functionality of gccld has
#           now been moved to llvm-ld. This shell script provides backwards 
#           compatibility so build environments invoking gccld can still get 
#           link (under the covers) with llvm-ld.
#
# Syntax:   gccld OPTIONS... (see llvm-ld for details)
# 
##===----------------------------------------------------------------------===##
#
echo "gccld: This tool is deprecated, please use llvm-ld" 1>&2
TOOLDIR=@TOOLDIR@
$TOOLDIR/llvm-ld "$@"

Write the deprecation message to stderr instead of stdout so that it doesn't get mingled with the output bytecode.
Write the deprecation message to stderr instead of stdout so that it
doesn't get mingled with the output bytecode.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@34089 91177308-0d34-0410-b5e6-96231b3b80d8
