llvm.org GIT mirror llvm / c2b5dcb
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 Chris Lattner 16 years ago
1 changed file(s) with 31 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Date: Mon, 20 Jan 2003 00:00:28 -0600
1 From: Brian R. Gaeke
2 Subject: windows vs. llvm
3
4 If you're interested, here are some of the major problems compiling LLVM
5 under Cygwin and/or Mingw.
6
7 1. Cygwin doesn't have or , so all the INT*_MAX
8 symbols and standard int*_t types are off in limbo somewhere. Mingw has
9 , but Cygwin doesn't like it.
10
11 2. Mingw doesn't have (because Windows doesn't have it.)
12
13 3. SA_SIGINFO and friends are not around; only signal() seems to work.
14
15 4. Relink, aka ld -r, doesn't work (probably an ld bug); you need
16 DONT_BUILD_RELINKED. This breaks all the tools makefiles; you just need to
17 change them to have .a's.
18
19 5. Cygwin's math.h defines log2(); it needs to be #undefed if already defined
20 in MathExtras.h.
21
22 6. There isn't a .
23
24 7. There isn't a mallinfo() (or, at least, it's documented, but it doesn't seem
25 to link).
26
27 8. The version of Bison that cygwin (and newer Linux versions) comes with
28 does not like = signs in rules. Burg's gram.yc source file uses them. I think
29 you can just take them out.
30