llvm.org GIT mirror llvm / 01bb8b0
lex and bison aren't needed to build llvm anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61560 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
4 changed file(s) with 2 addition(s) and 31 deletion(s). Raw diff Collapse all Expand all
106106 diff.
107107
108108
  • Patches should not include differences in generated code such as the
  • 109 code generated by flex, bison or tblgen. The
    109 code generated by autoconf or tblgen. The
    110110 utils/mkpatch utility takes care of this for you.
    111111
    112112
    306306
  • No native code generation
  • 307307
  • Build is not complete: one or more tools do not link or function
  • 308308
  • The GCC-based C/C++ frontend does not build
  • 309
  • The port is done using the MSYS shell.
  • 310 Download and install
    311 bison (excl. M4.exe) and flex in that order. Build binutils-2.15 from source,
    312 if necessary. Bison & flex can be also grabbed from GNUWin32 sf.net
    313 project.
    309
  • The port is done using the MSYS shell.
  • 314310
  • Native code generation exists but is not complete.
  • 315311
  • Binutils up to post-2.17 has bug in bfd/cofflink.c
  • 316312 preventing LLVM from building correctly. Several workarounds have been
    372368 TeXinfo
    373369 4.5
    374370 For building the CFE
    375
    376
    377
    378 Flex
    379 2.5.4
    380 LEX compiler
    381
    382
    383
    384 Bison
    385 1.28, 1.35, 1.75, 1.875d, 2.0, or 2.1
    (not 1.85 or 1.875)
    386 YACC compiler
    387371
    388372
    389373
    197197

    You will also need the CMake build

    198198 system since it generates the project files you will use to build with.

    199199
    200

    If you plan to modify any .y or .l files, you will need to have bison

    201 and/or flex installed where Visual Studio can find them. Otherwise, you do
    202 not need them and the pre-generated files that come with the source tree
    203 will be used.

    204
    205200

    206201 Do not install the LLVM directory tree into a path containing spaces (e.g.
    207202 C:\Documents and Settings\...) as the configure step will fail.

    780780
    781781
    AR (defaulted)
    782782
    Specifies the path to the ar tool.
    783
    BISON(configured)
    784
    Specifies the path to the bison tool.
    785783
    PROJ_OBJ_DIR
    786784
    The directory into which the products of build rules will be placed.
    787785 This might be the same as
    811809
    Provides the extension to be used on executables built by the makefiles.
    812810 The value may be empty on platforms that do not use file extensions for
    813811 executables (e.g. Unix).
    814
    FLEX(configured)
    815
    Specifies the path to the flex tool.
    816812
    INSTALL(configured)
    817813
    Specifies the path to the install tool.
    818814
    LDFLAGS(configured)
    980976 INCFiles
    981977 InternalTargets
    982978 LD.Flags
    983 LexFiles
    984 LexOutput
    985979 LibName.A
    986980 LibName.BC
    987981 LibName.LA
    10191013 ToolBuildPath
    10201014 TopLevelTargets
    10211015 UserTargets
    1022 YaccFiles
    1023 YaccOutput
    10241016

    10251017
    10261018