summaryrefslogtreecommitdiff
path: root/README.OS2
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-01-08 18:44:25 -0500
committerPaul Smith <psmith@gnu.org>2023-01-08 18:44:25 -0500
commitb99b6cdf3c18ee96da1775f7300d463fe5fe7ebb (patch)
tree27f48ebdc15c65e5042b39aab130ac2f50a70e3e /README.OS2
parent36f955b0e8d2c1b5be292eb84475c44eea6403c8 (diff)
downloadmake-git-b99b6cdf3c18ee96da1775f7300d463fe5fe7ebb.tar.gz
Update support for OS/2
Patches provided by KO Myung-Hun <komh78@gmail.com> * NEWS: Add a note. * AUTHORS: Add a new author. * README.OS2: Updates to build instructions. * src/dir.c (dir_contents_file_exists_p): Use a stack copy when modifying a const string. * src/job.c (construct_command_argv_internal): Ditto. Reuse variables rather than re-defining them. (exec_command): Cast a const string (we don't change it anyway). * src/getopt.c (_getopt_initialize): Reference unused variables. (_getopt_internal): Add block braces to quiet the compiler. * src/main.c (main): Cast argument to child_execute_job(). * src/posixos.c (set_blocking): Reference unused variables. * src/remake.c (f_mtime): Delete useless code.
Diffstat (limited to 'README.OS2')
-rw-r--r--README.OS27
1 files changed, 5 insertions, 2 deletions
diff --git a/README.OS2 b/README.OS2
index 1da9528f..b4c8dacc 100644
--- a/README.OS2
+++ b/README.OS2
@@ -73,7 +73,7 @@ III. ***** COMPILATION AND INSTALLATION *****
To recreate the configuration files use:
export EMXSHELL=ksh
- aclocal -I config
+ aclocal -I m4
automake
autoconf
autoheader
@@ -93,7 +93,7 @@ Recommended environment variables and installation options:
export CFLAGS="-O2 -Zomf -Zmt"
export LDFLAGS="-Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio -Zstack 0x6000"
export RANLIB="echo"
- ./configure --prefix=x:/usr --infodir=x:/usr/share/info --mandir=x:/usr/share/man --without-included-gettext
+ ./configure --prefix=x:/usr --infodir=x:/usr/share/info --mandir=x:/usr/share/man
make AR=emxomfar
make install
@@ -102,6 +102,9 @@ Note: If you use gcc 2.9.x I recommend to set also LIBS="-lgcc"
Note: You can add -DNO_CMD_DEFAULT and -DNO_CHDIR2 to CPPFLAGS.
See section I. for details.
+Note: If you use Open Watcom Linker instead of IBM Linker, remove
+ '-Zlinker /exepack:2' from LDFLAGS.
+
IV. ***** NLS support *****