llvm.org GIT mirror llvm / ee5b680
EXIT STAGE LEFT: gccas, gccld git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80023 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 11 years ago
6 changed file(s) with 1 addition(s) and 148 deletion(s). Raw diff Collapse all Expand all
2525 add_subdirectory(llvm-link)
2626 add_subdirectory(lli)
2727
28 # gccas and gccld are deprecated:
29 # add_subdirectory(gccas)
30 # add_subdirectory(gccld)
3128 add_subdirectory(llvm-extract)
3229 add_subdirectory(llvm-db)
3330
1818 PARALLEL_DIRS := opt llvm-as llvm-dis \
1919 llc llvm-ranlib llvm-ar llvm-nm \
2020 llvm-ld llvm-prof llvm-link \
21 lli gccas gccld llvm-extract llvm-db \
21 lli llvm-extract llvm-db \
2222 bugpoint llvm-bcanalyzer llvm-stub \
2323 llvm-mc llvmc
2424
+0
-28
tools/gccas/Makefile less more
None ##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file is distributed under the University of Illinois Open Source
5 # License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8 LEVEL = ../..
9
10 include $(LEVEL)/Makefile.common
11
12 install-local:: $(PROJ_bindir)/gccas
13
14 $(PROJ_bindir)/gccas : gccas.sh Makefile
15 $(Echo) Installing gccas shell script.
16 $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
17 $(Verb) chmod 0755 $@
18
19 all-local:: $(ToolDir)/gccas
20
21 $(ToolDir)/gccas : gccas.sh Makefile
22 $(Echo) Making $(ToolDir)/gccas shell script.
23 $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
24 $(Verb) chmod 0755 $@
25
26 clean-local::
27 $(Verb)$(RM) -f $(ToolDir)/gccas
+0
-64
tools/gccas/gccas.sh less more
None #!/bin/sh
1 ##===- tools/gccas.sh ------------------------------------------*- bash -*-===##
2 #
3 # The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9 #
10 # Synopsis: This shell script is a replacement for the old "gccas" tool that
11 # existed in LLVM versions before 2.0. The functionality of gccas has
12 # now been moved to opt and llvm-as. This shell script provides
13 # backwards compatibility so build environments invoking gccas can
14 # still get the net effect of llvm-as/opt by running gccas.
15 #
16 # Syntax: gccas OPTIONS... [asm file]
17 #
18 ##===----------------------------------------------------------------------===##
19 #
20 echo "gccas: This tool is deprecated, please use opt" 1>&2
21 TOOLDIR=@TOOLDIR@
22 OPTOPTS="-std-compile-opts -f"
23 ASOPTS=""
24 lastwasdasho=0
25 for option in "$@" ; do
26 option=`echo "$option" | sed 's/^--/-/'`
27 case "$option" in
28 -disable-opt)
29 OPTOPTS="$OPTOPTS $option"
30 ;;
31 -disable-inlining)
32 OPTOPTS="$OPTOPTS $option"
33 ;;
34 -verify)
35 OPTOPTS="$OPTOPTS -verify-each"
36 ;;
37 -strip-debug)
38 OPTOPTS="$OPTOPTS $option"
39 ;;
40 -o)
41 OPTOPTS="$OPTOPTS -o"
42 lastwasdasho=1
43 ;;
44 -disable-compression)
45 # ignore
46 ;;
47 -traditional-format)
48 # ignore
49 ;;
50 -*)
51 OPTOPTS="$OPTOPTS $option"
52 ;;
53 *)
54 if test $lastwasdasho -eq 1 ; then
55 OPTOPTS="$OPTOPTS $option"
56 lastwasdasho=0
57 else
58 ASOPTS="$ASOPTS $option"
59 fi
60 ;;
61 esac
62 done
63 ${TOOLDIR}/llvm-as $ASOPTS -o - | ${TOOLDIR}/opt $OPTOPTS
+0
-29
tools/gccld/Makefile less more
None ##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file is distributed under the University of Illinois Open Source
5 # License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8
9 LEVEL = ../..
10
11 include $(LEVEL)/Makefile.common
12
13 install-local:: $(PROJ_bindir)/gccld
14
15 $(PROJ_bindir)/gccld : gccld.sh Makefile
16 $(Echo) Installing gccld shell script.
17 $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
18 $(Verb) chmod 0755 $@
19
20 all-local:: $(ToolDir)/gccld
21
22 $(ToolDir)/gccld : gccld.sh Makefile
23 $(Echo) Making $(ToolDir)/gccld shell script.
24 $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
25 $(Verb) chmod 0755 $@
26
27 clean-local::
28 $(Verb)$(RM) -f $(ToolDir)/gccld
+0
-23
tools/gccld/gccld.sh less more
None #!/bin/sh
1 ##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===##
2 #
3 # The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9 #
10 # Synopsis: This shell script is a replacement for the old "gccld" tool that
11 # existed in LLVM versions before 2.0. The functionality of gccld has
12 # now been moved to llvm-ld. This shell script provides backwards
13 # compatibility so build environments invoking gccld can still get
14 # link (under the covers) with llvm-ld.
15 #
16 # Syntax: gccld OPTIONS... (see llvm-ld for details)
17 #
18 ##===----------------------------------------------------------------------===##
19 #
20 echo "gccld: This tool is deprecated, please use llvm-ld" 1>&2
21 TOOLDIR=@TOOLDIR@
22 $TOOLDIR/llvm-ld "$@"