Changes between Version 4 and Version 5 of PortingYourApp


Ignore:
Timestamp:
Oct 19, 2009, 8:10:59 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingYourApp

    v4 v5  
    1818$ cd mutekh_port
    1919$ mkdir src lib h
    20 $ cp ../bc-1.06/bc/*.[ch] bc
    21 $ cp ../bc-1.06/lib/*.[ch] lib
    22 $ cp ../bc-1.06/h/*.h src
     20$ cp ../bc-1.06/bc/*.[ch] bc/
     21$ cp ../bc-1.06/lib/*.[ch] lib/
     22$ cp ../bc-1.06/h/*.h h/
    2323}}}
    2424
     
    9191}}}
    9292
     93= Creating the config.h =
     94
     95As many autoconf-based programs, bc relies on a `config.h` file generated by the build system.
     96
     97For MutekH, we will create this config.h from the config.h.in file.
     98
     99Let's create a `config.h` file
     100{{{
     101#define HAVE_VPRINTF
     102#define STDC_HEADERS
     103#define DC_VERSION "1.06"
     104#define DC_COPYRIGHT "GNU"
     105#define BC_COPYRIGHT "GNU"
     106#define HAVE_LIMITS_H
     107#define HAVE_STDARG_H
     108#define HAVE_STDLIB_H
     109#define HAVE_STRING_H
     110#define HAVE_UNISTD_H
     111#define PACKAGE "bc for MutekH"
     112#define VERSION "1.06"
     113}}}
     114
    93115= The MutekH configuration file =
    94116