summaryrefslogtreecommitdiff
path: root/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-23 21:17:02 +0000
committerChris Lattner <sabre@nondot.org>2003-01-23 21:17:02 +0000
commitc2b5dcba5429b3c4328c3141fbe20af12e961a21 (patch)
tree67873b37b916d5bb2367135ad1fbf3f4c6d519ce /docs/HistoricalNotes/2003-01-23-CygwinNotes.txt
parent10806b66d61cb1446d3d38350159140c92463470 (diff)
downloadllvm-c2b5dcba5429b3c4328c3141fbe20af12e961a21.tar.gz
llvm-c2b5dcba5429b3c4328c3141fbe20af12e961a21.tar.bz2
llvm-c2b5dcba5429b3c4328c3141fbe20af12e961a21.tar.xz
Add notes about LLVM and CygWin from Brian Gaeke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/HistoricalNotes/2003-01-23-CygwinNotes.txt')
-rw-r--r--docs/HistoricalNotes/2003-01-23-CygwinNotes.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt b/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt
new file mode 100644
index 0000000000..0bce17f731
--- /dev/null
+++ b/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt
@@ -0,0 +1,31 @@
+Date: Mon, 20 Jan 2003 00:00:28 -0600
+From: Brian R. Gaeke <gaeke@uiuc.edu>
+Subject: windows vs. llvm
+
+If you're interested, here are some of the major problems compiling LLVM
+under Cygwin and/or Mingw.
+
+1. Cygwin doesn't have <inttypes.h> or <stdint.h>, so all the INT*_MAX
+ symbols and standard int*_t types are off in limbo somewhere. Mingw has
+ <stdint.h>, but Cygwin doesn't like it.
+
+2. Mingw doesn't have <dlfcn.h> (because Windows doesn't have it.)
+
+3. SA_SIGINFO and friends are not around; only signal() seems to work.
+
+4. Relink, aka ld -r, doesn't work (probably an ld bug); you need
+ DONT_BUILD_RELINKED. This breaks all the tools makefiles; you just need to
+ change them to have .a's.
+
+5. Cygwin's math.h defines log2(); it needs to be #undefed if already defined
+ in MathExtras.h.
+
+6. There isn't a <values.h>.
+
+7. There isn't a mallinfo() (or, at least, it's documented, but it doesn't seem
+ to link).
+
+8. The version of Bison that cygwin (and newer Linux versions) comes with
+ does not like = signs in rules. Burg's gram.yc source file uses them. I think
+ you can just take them out.
+