Commit Graph

16591 Commits

Author SHA1 Message Date
Jeff Cohen
1a4663516b Eliminate use of ltdl.c when doing a VC++ build. Because libtool isn't used,
ltdl's LGPL license would infect all of LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19137 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 07:57:09 +00:00
Reid Spencer
3bf6960f3e Make the symbolic link using the correct variable!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19136 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:49:16 +00:00
Reid Spencer
1ac82ad26f Remove references to LLVMGCCDIR because it was only used to provide a
value for the --with-llvmgccdir configure option which is no longer
supported.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19135 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:32:54 +00:00
Reid Spencer
69a1616106 For PR351:
Merge implementations of isValid and GetTemporaryDirectory into this file. There
is not any point having the operating system specific files for such little
variation between the Unix family of systems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19134 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:29:42 +00:00
Reid Spencer
f77bdc4892 For PR351:
This implementation is no longer needed, its been merged to Unix/Path.cpp since
there is such little variation between the platforms.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19133 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:29:28 +00:00
Reid Spencer
dafe55f64b For PR351:
Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation
instead of relying upon the "platform" link


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19132 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:29:17 +00:00
Reid Spencer
7b3e851e2b For PR351:
Create new variables LLVM_ON_UNIX and LLVM_ON_WIN32 so we can start getting
rid of reliance upon a symbolic link to switch implementations in lib/System


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19131 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:29:05 +00:00
Reid Spencer
ebf8d0ecdf Resurrect this file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19130 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 06:03:31 +00:00
Reid Spencer
48a1f4237d Remove these files as they are not being included any more. DynamicLibrary
is now implemented via ltdl.cpp which has its own way of dealing with
the different platforms.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19129 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:59:46 +00:00
Reid Spencer
6a901ecb6f Make sure LLVMGCCWITHPATH is used instead of just LLVMGCC so that the
CFE tools can find the correct LLVM tools to invoke.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19128 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:44:24 +00:00
Reid Spencer
4a25494ee6 The dejagnu scripts need a path for llvm-gcc/llvm-g++ as well so use the
correct variable to get a "set the path first" invocation of those tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19127 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:38:01 +00:00
Reid Spencer
32924e01f3 Two corrections:
* When reconfiguring, make sure the config.cache file is blown away so that
  its (old) values don't short-circuit doing the tests. When a reconfigure
  is done, it should be done from scratch, without the cache.
* For dist-check, don't pass --with-llvmgccdir any more because configure
  doesn't have this option any more.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19126 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:36:31 +00:00
Reid Spencer
0a43d3954a Change llvmgcc/llvmg++ to llvm-gcc and llvm-g++ respectively.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19125 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:34:31 +00:00
Jeff Cohen
cb652550b6 Fix VC++ compilation error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19124 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 02:38:34 +00:00
Reid Spencer
e32beb78d5 Fix a bug in libtool's ltmain.sh. On Cygwin the "$output.exp" expression
expands to a full path name. Substitute $outputname.exp" instead and it
makes a viable temporary file name. This gets around the problem with lli
on Cygwin linking but not having any "C" library functions linked into it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19123 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 00:15:20 +00:00
Reid Spencer
a36c9a4dd3 Put CopyFile in the sys namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19122 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 22:14:32 +00:00
Misha Brukman
4d099f7d6c Wrap at 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19121 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 21:17:41 +00:00
Reid Spencer
4618957d0d Correct the comments and file header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19120 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 21:16:46 +00:00
Reid Spencer
1e296bf046 Try to speed up gccld hot spot in BasicVN::getEqualNumberNodes by making
a function call at the core of the loop inline and removing unused
stack variables from an often called function. This doesn't improve things
much, the real saving will be by reducing the number of calls to this
function (100K+ when linking kimwitu++).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19119 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 21:13:26 +00:00
Reid Spencer
ee93c874aa Update the amd64 target detection checks.
Patch contributed by Markus F.X.J. Oberhumer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19118 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 21:08:52 +00:00
Reid Spencer
72a59007d4 Add a caution about using experimental versions of gnu binutils when
building Cygwin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19117 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 19:49:54 +00:00
Reid Spencer
65e8f5b4e4 Be specific about version of GCC and binutils on Cygwin since it matters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19116 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 19:39:54 +00:00
Misha Brukman
c155a0a0e9 LLVM now builds and runs on Linux/amd64, but we don't have 64-bit codegen yet
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19115 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 07:14:56 +00:00
Jeff Cohen
c204e79cdf Allow llc to recognize -march=x86. As it was, it didn't recognize any
architecture at all.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19114 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 06:45:32 +00:00
Reid Spencer
95ed843adc Added support for detection of amd64 targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19113 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 06:22:33 +00:00
Jeff Cohen
2e5f445da0 Patch to fix mingw compilation problem contributed by Henrik.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19112 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-23 03:44:40 +00:00
Brian Gaeke
06c375bd1d Fix the build on PowerPC/Darwin - it thought we were declaring a new
function or something. Since FileRemover takes a const reference to
sys::Path, we need to pass an actual sys::Path variable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19111 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 22:33:33 +00:00
Reid Spencer
cfaf80c471 * Remove an unnecessary step.
* Correct a path.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19110 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 16:19:05 +00:00
Reid Spencer
8d8b41d3f1 Correct compilation for Cygwin. FindExecutable now returns a sys::Path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19109 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 13:50:17 +00:00
Reid Spencer
302d81e819 For PR351:
Include local FDHandle.h file now that FDHandle is local to this library
and not in lib/System/FileUtilities.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19108 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 10:25:06 +00:00
Reid Spencer
55cf0a6dc9 For PR351:
FDHandle class (non-portable) moved here from lib/Support/FileUtilities


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19107 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 10:24:55 +00:00
Reid Spencer
772192cf36 For PR351:
Move non-portable FDHandle class to its only user: lib/Debugger


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19106 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 10:24:43 +00:00
Reid Spencer
2404236795 Add a blurb about using the GCC 3.4.3 compiler on Cygwin (which works) for
the CFE instead of the default GCC 3.3.3 compiler that comes with Cygwin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19104 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 09:52:30 +00:00
Reid Spencer
90f1745ab1 For PR432:
* Remove the idiotic windows environment setting, its not needed.
* Remove an extraneous "mkdir" instruction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19103 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 09:07:51 +00:00
Reid Spencer
847f9b7d31 Hopefully fix a link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19102 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 06:48:03 +00:00
Reid Spencer
473cbecff0 Fix the names of these executables now that they've been somewhat cast in
stone.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19101 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 06:47:25 +00:00
Reid Spencer
f66f145531 Correct the name of the executables to which llvmgcc and llvmgxx variables
point to.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19100 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 06:45:24 +00:00
Reid Spencer
4ac30650e1 For PR432:
Rework the CFE build details to include the directions for using the
option --program-prefix=llvm- to the CFE's configure script. This ensures
that the CFE builds unique executable names and makes it possible to put
the $CFEINSTALL/bin directory into one's path.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19099 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 06:40:29 +00:00
Reid Spencer
d4694f9cf5 For PR432:
* llvmgcc -> llvm-gcc
* llvmg++ -> llvm-g++
* remove references to --with-llvmgccdir configure option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19098 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 06:29:07 +00:00
Reid Spencer
c553403233 For PR432:
* Use LLVMGCC and LLVMGXX variables instead of computing the name


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:50 +00:00
Reid Spencer
e676067be5 For PR432:
* Variable name change: cferuntime_libdir -> CFERuntimeLibDir


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19096 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:33 +00:00
Reid Spencer
2f138e726f For PR432:
* Cleanup LLVMGCXX and LLVMGCC by providing LLVMGXXWITHPATH and LLVMGCCWITHPATH
  variables that add the $(LLVMToolDir) to the path so the CFE tools can find
  the right LLVM tools they depend on.
* Standardize the name of a variable: cferuntime_libdir -> CFERuntimeLibDir


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19095 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:21 +00:00
Reid Spencer
7908035f47 For PR432:
* Use new configuration variables to compute LLVMGCC and LLVMGXX variables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19094 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:09 +00:00
Reid Spencer
502935f172 For PR432:
* Remove --with-llvmgccdir, not needed any more
* Search path for llvm-gcc and llvm-gxx
* Compute LLVMGCCDIR based on install path of llvm-gcc


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19093 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:56:56 +00:00
Reid Spencer
d00b82eacd Get rid of old automake stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19092 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:56:41 +00:00
Reid Spencer
5512655574 Support the gas option --traditional-format which, for some reason, gets
passed to gccas when the --program-prefix option is used to configure CFE.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19091 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 02:58:43 +00:00
Misha Brukman
1997c4500c Ignore generated files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19090 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 01:49:53 +00:00
Reid Spencer
6caa5ec8b5 Revert last patch until we can figure out how to build executables named
llvmgcc and llvmg++ correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19089 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 01:37:47 +00:00
Misha Brukman
81417b631a Fix the Win32 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19088 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 01:37:33 +00:00
Reid Spencer
77f5530ebe Revert last changes as they introduce CFE build problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19087 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 01:36:27 +00:00