Added configurable options for the Linker and Archiver.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6432 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2003-05-30 15:50:31 +00:00
parent 6074d2f37a
commit 794fcd2ef8
3 changed files with 14 additions and 4 deletions

View File

@ -234,7 +234,7 @@ endif
# Create one .o file from a bunch of .o files... # Create one .o file from a bunch of .o files...
Relink = ld -r Relink = ${LD} -r
# MakeSO - Create a .so file from a .o files... # MakeSO - Create a .so file from a .o files...
MakeSO := $(CXX) $(MakeSharedObjectOption) MakeSO := $(CXX) $(MakeSharedObjectOption)
@ -246,7 +246,7 @@ Depend := $(CXX) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS)
DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS) DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS)
# Archive a bunch of .o files into a .a file... # Archive a bunch of .o files into a .a file...
AR = ar cq AR = ${AR_PATH} cq
#---------------------------------------------------------- #----------------------------------------------------------

View File

@ -18,6 +18,16 @@ CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++
# #
CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc
#
# Path to the linker.
#
LD = ld
#
# Path to the archiver program.
#
AR_PATH = ar
# #
# The pathnames of the Flex and Bison programs, respectively. # The pathnames of the Flex and Bison programs, respectively.
# #

View File

@ -234,7 +234,7 @@ endif
# Create one .o file from a bunch of .o files... # Create one .o file from a bunch of .o files...
Relink = ld -r Relink = ${LD} -r
# MakeSO - Create a .so file from a .o files... # MakeSO - Create a .so file from a .o files...
MakeSO := $(CXX) $(MakeSharedObjectOption) MakeSO := $(CXX) $(MakeSharedObjectOption)
@ -246,7 +246,7 @@ Depend := $(CXX) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS)
DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS) DependC := $(CC) -MM -I$(LEVEL)/include -I$(PROJ_INCLUDE) $(CPPFLAGS)
# Archive a bunch of .o files into a .a file... # Archive a bunch of .o files into a .a file...
AR = ar cq AR = ${AR_PATH} cq
#---------------------------------------------------------- #----------------------------------------------------------