Drop something that link will never support, use gccld instead
authorChris Lattner <sabre@nondot.org>
Mon, 20 May 2002 19:48:55 +0000 (19:48 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 May 2002 19:48:55 +0000 (19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2667 91177308-0d34-0410-b5e6-96231b3b80d8

tools/link/link.cpp
tools/llvm-link/llvm-link.cpp

index c975abc3f642e5f190e1cbca36f6a2ce8d0c760d..11000de9a719ab6b365221897a7f4f82201da405 100644 (file)
@@ -28,8 +28,6 @@ cl::Flag   Force         ("f", "Overwrite output files", cl::NoFlags, false);
 cl::Flag   Verbose       ("v", "Print information about actions taken");
 cl::Flag   DumpAsm       ("d", "Print assembly as linked", cl::Hidden, false);
 cl::StringList LibPaths  ("L", "Specify a library search path", cl::ZeroOrMore);
-cl::StringList Libraries ("l", "Specify libraries to link to", cl::ZeroOrMore);
-
 
 // FileExists - Return true if the specified string is an openable file...
 static inline bool FileExists(const std::string &FN) {
@@ -90,9 +88,6 @@ int main(int argc, char **argv) {
     OutputFilename = InputFilenames[1];
   }
 
-  if (!Libraries.empty())
-    cerr << "LLVM Linker Warning:  Linking to libraries is unimplemented!\n";
-
   std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
   if (Composite.get() == 0) return 1;
 
index c975abc3f642e5f190e1cbca36f6a2ce8d0c760d..11000de9a719ab6b365221897a7f4f82201da405 100644 (file)
@@ -28,8 +28,6 @@ cl::Flag   Force         ("f", "Overwrite output files", cl::NoFlags, false);
 cl::Flag   Verbose       ("v", "Print information about actions taken");
 cl::Flag   DumpAsm       ("d", "Print assembly as linked", cl::Hidden, false);
 cl::StringList LibPaths  ("L", "Specify a library search path", cl::ZeroOrMore);
-cl::StringList Libraries ("l", "Specify libraries to link to", cl::ZeroOrMore);
-
 
 // FileExists - Return true if the specified string is an openable file...
 static inline bool FileExists(const std::string &FN) {
@@ -90,9 +88,6 @@ int main(int argc, char **argv) {
     OutputFilename = InputFilenames[1];
   }
 
-  if (!Libraries.empty())
-    cerr << "LLVM Linker Warning:  Linking to libraries is unimplemented!\n";
-
   std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
   if (Composite.get() == 0) return 1;