exit Compile
Compiling tex4ht.c
- You might want to activate some of the options at the start of the file by uncommenting the corresponding
lines.
/* **********************************************
Compiler options *
(uncommented | command line) *
------------------------------------------------*
Classic C (CC) default
#define ANSI ansi-c, c++
#define DOS_C
#define HAVE_STRING_H <string.h>
#define HAVE_DIRENT_H <dirent.h>
#define HAVE_SYS_NDIR_H <sys/ndir.h>
#define HAVE_SYS_DIR_H <sys/dir.h>
#define HAVE_NDIR_H <dir.h>
#define WIN32
#define KPATHSEA
#define BCC32 bordland c++
*************************************************
- Values may be assigned in the command line or the beginning of the source file, to the environment variables
ENVFILE, HTFDIR, LGPIC, LGSEP, LGTYP, MAXFONTS, and TFMDIR.
For instance,
gcc -o tex4ht tex4ht.c -DENVFILE='"path/tex4ht.dir/texmf/tex4ht/base/unix/tex4ht.env"'
-DHAVE_DIRENT_H
The switch ‘-DENVFILE’ is optional, if the program can reach the environment file in an alternative
manner.
Compiling t4ht.c
The environment variable ENVFILE is available also in ‘t4ht.c’.
For instance,
gcc -o t4ht t4ht.c -DENVFILE='"gold/tex4ht.dir/texmf/tex4ht/base/unix/tex4ht.env"'