Makefile



  • Hi, hoffe dass ich hier richtig bin, wusste nicht genau wo die Frage hin soll, also:
    Hab versucht, durch ein Makefile den Source von "The CMU-Cambridge Statistical Language Modeling Toolkit" zu kompilieren. Aber wenn ich über die Kommandozeile "C:\Programme\Dev-Cpp\bin\gcc makefile" eingebe, steht da nur "makefile: file not recognized: File format not recognized"

    Und wenn ich "C:\Programme\Dev-Cpp\bin\gcc make" eingebe, "gcc: make: No such file or directory gcc: no input files"
    Ich weiss nicht, was ich noch machen soll, in der Hilfe dazu steht nur:

    "For "big-endian" machines (eg those running HP-UX, IRIX, SunOS, Solaris) the installation procedure is simply to change into the src/ directory and type

    make install

    The executables will then be copied into the bin/ directory, and the library file SLM2.a will be copied into the lib/ directory. For "little-endian" machines (eg those running Ultrix, Linux) the variable BYTESWAP_FLAG will need to be set in the Makefile. This can be done by editing src/Makefile directly, so that the line
    #BYTESWAP_FLAG = -DSLM_SWAP_BYTES

    is changed to
    BYTESWAP_FLAG = -DSLM_SWAP_BYTES

    Then the program can be installed as before.

    If you are unsure of the "endian-ness" of your machine, then the shell script endian.sh should be able to provide some assistance.

    In case of problems, then more information can be found by examining src/Makefile."
    Hab auch diese Zeile editiert, das # entfernt, aber immer noch das selbe! Bin auch im richtigen Verzeichnis, wo ich dann gcc aufrufe!
    Hier das Toolkit: http://svr-www.eng.cam.ac.uk/~prc14/CMU-Cam_Toolkit_v2.tar.gz


Anmelden zum Antworten