roo_e/thirdparty/zlib-1.2.12/configure.log
2022-05-16 17:59:47 -05:00

7468 lines
166 KiB
Text

--------------------
./configure
Mon 02 May 2022 08:56:32 PM CDT
Checking for gcc...
=== ztest1214046.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1214046.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1214046.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1214046.c
Checking for shared library support...
=== ztest1214046.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1214046.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1214046.so ztest1214046.o
Building shared library libz.so.1.2.12 with gcc.
=== ztest1214046.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1214046.c
Checking for size_t... Yes.
=== ztest1214046.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1214046.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1214046.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1214046 ztest1214046.c
Checking for strerror... Yes.
=== ztest1214046.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1214046.c
Checking for unistd.h... Yes.
=== ztest1214046.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1214046.c
Checking for stdarg.h... Yes.
=== ztest1214046.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1214046.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1214046.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1214046 ztest1214046.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1214046.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1214046.c
Checking for return value of vsnprintf()... Yes.
=== ztest1214046.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1214046.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.12
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure
Mon 02 May 2022 08:57:35 PM CDT
Checking for gcc...
=== ztest1215064.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1215064.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1215064.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1215064.c
Checking for shared library support...
=== ztest1215064.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1215064.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1215064.so ztest1215064.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1215064.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1215064.c
Checking for size_t... Yes.
=== ztest1215064.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215064.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1215064.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1215064 ztest1215064.c
Checking for strerror... Yes.
=== ztest1215064.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215064.c
Checking for unistd.h... Yes.
=== ztest1215064.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215064.c
Checking for stdarg.h... Yes.
=== ztest1215064.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215064.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1215064.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1215064 ztest1215064.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1215064.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215064.c
Checking for return value of vsnprintf()... Yes.
=== ztest1215064.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215064.c
ztest1215064.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure
Mon 02 May 2022 08:58:05 PM CDT
Checking for gcc...
=== ztest1215645.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1215645.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1215645.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1215645.c
Checking for shared library support...
=== ztest1215645.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1215645.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1215645.so ztest1215645.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1215645.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1215645.c
Checking for size_t... Yes.
=== ztest1215645.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215645.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1215645.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1215645 ztest1215645.c
Checking for strerror... Yes.
=== ztest1215645.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215645.c
Checking for unistd.h... Yes.
=== ztest1215645.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215645.c
Checking for stdarg.h... Yes.
=== ztest1215645.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215645.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1215645.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1215645 ztest1215645.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1215645.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215645.c
Checking for return value of vsnprintf()... Yes.
=== ztest1215645.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215645.c
ztest1215645.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure
Mon 02 May 2022 08:58:18 PM CDT
Checking for gcc...
=== ztest1215955.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1215955.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1215955.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1215955.c
Checking for shared library support...
=== ztest1215955.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1215955.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1215955.so ztest1215955.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1215955.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1215955.c
Checking for size_t... Yes.
=== ztest1215955.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215955.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1215955.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1215955 ztest1215955.c
Checking for strerror... Yes.
=== ztest1215955.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215955.c
Checking for unistd.h... Yes.
=== ztest1215955.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215955.c
Checking for stdarg.h... Yes.
=== ztest1215955.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215955.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1215955.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1215955 ztest1215955.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1215955.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215955.c
Checking for return value of vsnprintf()... Yes.
=== ztest1215955.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1215955.c
ztest1215955.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure
Mon 02 May 2022 08:59:14 PM CDT
Checking for gcc...
=== ztest1216938.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1216938.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1216938.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1216938.c
Checking for shared library support...
=== ztest1216938.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1216938.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1216938.so ztest1216938.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1216938.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1216938.c
Checking for size_t... Yes.
=== ztest1216938.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1216938.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1216938.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1216938 ztest1216938.c
Checking for strerror... Yes.
=== ztest1216938.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1216938.c
Checking for unistd.h... Yes.
=== ztest1216938.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1216938.c
Checking for stdarg.h... Yes.
=== ztest1216938.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1216938.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1216938.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1216938 ztest1216938.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1216938.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1216938.c
Checking for return value of vsnprintf()... Yes.
=== ztest1216938.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1216938.c
ztest1216938.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /usr/local
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --help
Tue 03 May 2022 06:03:45 PM CDT
usage:
configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]
[--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]
[--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]
--------------------
./configure --prefix=/home/scott/code/FLTK_Nano-X_DOS/installed/dos
Tue 03 May 2022 06:06:09 PM CDT
Checking for gcc...
=== ztest2276435.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2276435.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2276435.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2276435.c
Checking for shared library support...
=== ztest2276435.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2276435.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2276435.so ztest2276435.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2276435.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2276435.c
Checking for size_t... Yes.
=== ztest2276435.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2276435.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2276435.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2276435 ztest2276435.c
Checking for strerror... Yes.
=== ztest2276435.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2276435.c
Checking for unistd.h... Yes.
=== ztest2276435.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2276435.c
Checking for stdarg.h... Yes.
=== ztest2276435.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2276435.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2276435.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2276435 ztest2276435.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2276435.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2276435.c
Checking for return value of vsnprintf()... Yes.
=== ztest2276435.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2276435.c
ztest2276435.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/FLTK_Nano-X_DOS/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/FLTK_Nano-X_DOS/installed/dos
Wed 04 May 2022 07:45:26 PM CDT
Checking for gcc...
=== ztest3630243.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest3630243.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest3630243.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest3630243.c
Checking for shared library support...
=== ztest3630243.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest3630243.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest3630243.so ztest3630243.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest3630243.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest3630243.c
Checking for size_t... Yes.
=== ztest3630243.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3630243.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest3630243.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3630243 ztest3630243.c
Checking for strerror... Yes.
=== ztest3630243.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3630243.c
Checking for unistd.h... Yes.
=== ztest3630243.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3630243.c
Checking for stdarg.h... Yes.
=== ztest3630243.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3630243.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest3630243.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3630243 ztest3630243.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest3630243.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3630243.c
Checking for return value of vsnprintf()... Yes.
=== ztest3630243.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3630243.c
ztest3630243.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/FLTK_Nano-X_DOS/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/FLTK_Nano-X_DOS/installed/dos
Wed 04 May 2022 07:49:08 PM CDT
Checking for gcc...
=== ztest3637726.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest3637726.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest3637726.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest3637726.c
Checking for shared library support...
=== ztest3637726.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest3637726.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest3637726.so ztest3637726.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest3637726.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest3637726.c
Checking for size_t... Yes.
=== ztest3637726.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3637726.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest3637726.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3637726 ztest3637726.c
Checking for strerror... Yes.
=== ztest3637726.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3637726.c
Checking for unistd.h... Yes.
=== ztest3637726.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3637726.c
Checking for stdarg.h... Yes.
=== ztest3637726.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3637726.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest3637726.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3637726 ztest3637726.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest3637726.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3637726.c
Checking for return value of vsnprintf()... Yes.
=== ztest3637726.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3637726.c
ztest3637726.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/FLTK_Nano-X_DOS/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/FLTK_Nano-X_DOS/installed/dos
Wed 04 May 2022 07:54:07 PM CDT
Checking for gcc...
=== ztest3646548.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest3646548.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest3646548.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest3646548.c
Checking for shared library support...
=== ztest3646548.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest3646548.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest3646548.so ztest3646548.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest3646548.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest3646548.c
Checking for size_t... Yes.
=== ztest3646548.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3646548.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest3646548.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3646548 ztest3646548.c
Checking for strerror... Yes.
=== ztest3646548.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3646548.c
Checking for unistd.h... Yes.
=== ztest3646548.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3646548.c
Checking for stdarg.h... Yes.
=== ztest3646548.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3646548.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest3646548.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3646548 ztest3646548.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest3646548.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3646548.c
Checking for return value of vsnprintf()... Yes.
=== ztest3646548.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3646548.c
ztest3646548.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/FLTK_Nano-X_DOS/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/FLTK_Nano-X_DOS/installed/dos
Wed 04 May 2022 07:59:38 PM CDT
Checking for gcc...
=== ztest3655960.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest3655960.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest3655960.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest3655960.c
Checking for shared library support...
=== ztest3655960.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest3655960.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest3655960.so ztest3655960.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest3655960.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest3655960.c
Checking for size_t... Yes.
=== ztest3655960.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3655960.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest3655960.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3655960 ztest3655960.c
Checking for strerror... Yes.
=== ztest3655960.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3655960.c
Checking for unistd.h... Yes.
=== ztest3655960.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3655960.c
Checking for stdarg.h... Yes.
=== ztest3655960.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3655960.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest3655960.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3655960 ztest3655960.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest3655960.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3655960.c
Checking for return value of vsnprintf()... Yes.
=== ztest3655960.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3655960.c
ztest3655960.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/FLTK_Nano-X_DOS/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/FLTK_Nano-X_DOS/installed/dos
Wed 04 May 2022 08:06:39 PM CDT
Checking for gcc...
=== ztest3666952.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest3666952.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest3666952.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest3666952.c
Checking for shared library support...
=== ztest3666952.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest3666952.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest3666952.so ztest3666952.o
/home/scott/code/FLTK_Nano-X_DOS/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/FLTK_Nano-X_DOS/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest3666952.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest3666952.c
Checking for size_t... Yes.
=== ztest3666952.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3666952.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest3666952.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3666952 ztest3666952.c
Checking for strerror... Yes.
=== ztest3666952.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3666952.c
Checking for unistd.h... Yes.
=== ztest3666952.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3666952.c
Checking for stdarg.h... Yes.
=== ztest3666952.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3666952.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest3666952.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3666952 ztest3666952.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest3666952.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3666952.c
Checking for return value of vsnprintf()... Yes.
=== ztest3666952.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3666952.c
ztest3666952.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/FLTK_Nano-X_DOS/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Sun 08 May 2022 07:04:44 PM CDT
Checking for gcc...
=== ztest199653.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest199653.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest199653.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest199653.c
Checking for shared library support...
=== ztest199653.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest199653.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest199653.so ztest199653.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest199653.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest199653.c
Checking for size_t... Yes.
=== ztest199653.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest199653.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest199653.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest199653 ztest199653.c
Checking for strerror... Yes.
=== ztest199653.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest199653.c
Checking for unistd.h... Yes.
=== ztest199653.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest199653.c
Checking for stdarg.h... Yes.
=== ztest199653.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest199653.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest199653.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest199653 ztest199653.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest199653.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest199653.c
Checking for return value of vsnprintf()... Yes.
=== ztest199653.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest199653.c
ztest199653.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Mon 09 May 2022 06:22:05 PM CDT
Checking for gcc...
=== ztest1461207.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1461207.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1461207.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1461207.c
Checking for shared library support...
=== ztest1461207.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1461207.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1461207.so ztest1461207.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1461207.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1461207.c
Checking for size_t... Yes.
=== ztest1461207.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1461207.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1461207.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1461207 ztest1461207.c
Checking for strerror... Yes.
=== ztest1461207.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1461207.c
Checking for unistd.h... Yes.
=== ztest1461207.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1461207.c
Checking for stdarg.h... Yes.
=== ztest1461207.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1461207.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1461207.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1461207 ztest1461207.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1461207.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1461207.c
Checking for return value of vsnprintf()... Yes.
=== ztest1461207.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1461207.c
ztest1461207.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Mon 09 May 2022 06:23:38 PM CDT
Checking for gcc...
=== ztest1468061.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1468061.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1468061.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1468061.c
Checking for shared library support...
=== ztest1468061.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1468061.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1468061.so ztest1468061.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1468061.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1468061.c
Checking for size_t... Yes.
=== ztest1468061.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1468061.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1468061.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1468061 ztest1468061.c
Checking for strerror... Yes.
=== ztest1468061.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1468061.c
Checking for unistd.h... Yes.
=== ztest1468061.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1468061.c
Checking for stdarg.h... Yes.
=== ztest1468061.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1468061.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1468061.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1468061 ztest1468061.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1468061.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1468061.c
Checking for return value of vsnprintf()... Yes.
=== ztest1468061.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1468061.c
ztest1468061.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Mon 09 May 2022 06:30:55 PM CDT
Checking for gcc...
=== ztest1483451.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1483451.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1483451.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1483451.c
Checking for shared library support...
=== ztest1483451.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1483451.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1483451.so ztest1483451.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1483451.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1483451.c
Checking for size_t... Yes.
=== ztest1483451.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1483451.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1483451.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1483451 ztest1483451.c
Checking for strerror... Yes.
=== ztest1483451.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1483451.c
Checking for unistd.h... Yes.
=== ztest1483451.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1483451.c
Checking for stdarg.h... Yes.
=== ztest1483451.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1483451.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1483451.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1483451 ztest1483451.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1483451.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1483451.c
Checking for return value of vsnprintf()... Yes.
=== ztest1483451.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1483451.c
ztest1483451.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 03:52:40 PM CDT
Checking for gcc...
=== ztest2614548.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2614548.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2614548.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2614548.c
Checking for shared library support...
=== ztest2614548.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2614548.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2614548.so ztest2614548.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2614548.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2614548.c
Checking for size_t... Yes.
=== ztest2614548.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2614548.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2614548.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2614548 ztest2614548.c
Checking for strerror... Yes.
=== ztest2614548.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2614548.c
Checking for unistd.h... Yes.
=== ztest2614548.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2614548.c
Checking for stdarg.h... Yes.
=== ztest2614548.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2614548.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2614548.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2614548 ztest2614548.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2614548.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2614548.c
Checking for return value of vsnprintf()... Yes.
=== ztest2614548.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2614548.c
ztest2614548.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 03:55:00 PM CDT
Checking for gcc...
=== ztest2616756.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2616756.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2616756.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2616756.c
Checking for shared library support...
=== ztest2616756.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2616756.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2616756.so ztest2616756.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2616756.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2616756.c
Checking for size_t... Yes.
=== ztest2616756.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2616756.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2616756.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2616756 ztest2616756.c
Checking for strerror... Yes.
=== ztest2616756.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2616756.c
Checking for unistd.h... Yes.
=== ztest2616756.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2616756.c
Checking for stdarg.h... Yes.
=== ztest2616756.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2616756.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2616756.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2616756 ztest2616756.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2616756.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2616756.c
Checking for return value of vsnprintf()... Yes.
=== ztest2616756.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2616756.c
ztest2616756.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 03:55:13 PM CDT
Checking for gcc...
=== ztest2617202.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2617202.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2617202.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2617202.c
Checking for shared library support...
=== ztest2617202.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2617202.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2617202.so ztest2617202.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2617202.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2617202.c
Checking for size_t... Yes.
=== ztest2617202.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2617202.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2617202.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2617202 ztest2617202.c
Checking for strerror... Yes.
=== ztest2617202.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2617202.c
Checking for unistd.h... Yes.
=== ztest2617202.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2617202.c
Checking for stdarg.h... Yes.
=== ztest2617202.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2617202.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2617202.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2617202 ztest2617202.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2617202.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2617202.c
Checking for return value of vsnprintf()... Yes.
=== ztest2617202.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2617202.c
ztest2617202.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 03:56:55 PM CDT
Checking for gcc...
=== ztest2618906.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2618906.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2618906.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2618906.c
Checking for shared library support...
=== ztest2618906.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2618906.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2618906.so ztest2618906.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2618906.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2618906.c
Checking for size_t... Yes.
=== ztest2618906.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2618906.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2618906.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2618906 ztest2618906.c
Checking for strerror... Yes.
=== ztest2618906.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2618906.c
Checking for unistd.h... Yes.
=== ztest2618906.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2618906.c
Checking for stdarg.h... Yes.
=== ztest2618906.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2618906.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2618906.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2618906 ztest2618906.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2618906.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2618906.c
Checking for return value of vsnprintf()... Yes.
=== ztest2618906.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2618906.c
ztest2618906.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 03:57:11 PM CDT
Checking for gcc...
=== ztest2619385.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2619385.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2619385.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2619385.c
Checking for shared library support...
=== ztest2619385.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2619385.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2619385.so ztest2619385.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2619385.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2619385.c
Checking for size_t... Yes.
=== ztest2619385.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2619385.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2619385.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2619385 ztest2619385.c
Checking for strerror... Yes.
=== ztest2619385.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2619385.c
Checking for unistd.h... Yes.
=== ztest2619385.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2619385.c
Checking for stdarg.h... Yes.
=== ztest2619385.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2619385.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2619385.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2619385 ztest2619385.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2619385.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2619385.c
Checking for return value of vsnprintf()... Yes.
=== ztest2619385.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2619385.c
ztest2619385.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 04:01:17 PM CDT
Checking for gcc...
=== ztest2623071.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2623071.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2623071.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2623071.c
Checking for shared library support...
=== ztest2623071.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2623071.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2623071.so ztest2623071.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2623071.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2623071.c
Checking for size_t... Yes.
=== ztest2623071.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2623071.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2623071.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2623071 ztest2623071.c
Checking for strerror... Yes.
=== ztest2623071.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2623071.c
Checking for unistd.h... Yes.
=== ztest2623071.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2623071.c
Checking for stdarg.h... Yes.
=== ztest2623071.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2623071.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2623071.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2623071 ztest2623071.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2623071.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2623071.c
Checking for return value of vsnprintf()... Yes.
=== ztest2623071.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2623071.c
ztest2623071.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 04:03:48 PM CDT
Checking for gcc...
=== ztest2630777.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2630777.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2630777.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2630777.c
Checking for shared library support...
=== ztest2630777.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2630777.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2630777.so ztest2630777.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2630777.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2630777.c
Checking for size_t... Yes.
=== ztest2630777.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2630777.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2630777.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2630777 ztest2630777.c
Checking for strerror... Yes.
=== ztest2630777.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2630777.c
Checking for unistd.h... Yes.
=== ztest2630777.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2630777.c
Checking for stdarg.h... Yes.
=== ztest2630777.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2630777.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2630777.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2630777 ztest2630777.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2630777.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2630777.c
Checking for return value of vsnprintf()... Yes.
=== ztest2630777.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2630777.c
ztest2630777.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Tue 10 May 2022 07:30:14 PM CDT
Checking for gcc...
=== ztest2877620.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest2877620.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest2877620.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest2877620.c
Checking for shared library support...
=== ztest2877620.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest2877620.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2877620.so ztest2877620.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest2877620.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest2877620.c
Checking for size_t... Yes.
=== ztest2877620.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2877620.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest2877620.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2877620 ztest2877620.c
Checking for strerror... Yes.
=== ztest2877620.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2877620.c
Checking for unistd.h... Yes.
=== ztest2877620.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2877620.c
Checking for stdarg.h... Yes.
=== ztest2877620.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2877620.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest2877620.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2877620 ztest2877620.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest2877620.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2877620.c
Checking for return value of vsnprintf()... Yes.
=== ztest2877620.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2877620.c
ztest2877620.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/microwindows-dos/installed/dos
Wed 11 May 2022 05:11:00 PM CDT
Checking for gcc...
=== ztest3977950.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest3977950.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest3977950.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest3977950.c
Checking for shared library support...
=== ztest3977950.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest3977950.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest3977950.so ztest3977950.o
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/home/scott/code/microwindows-dos/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest3977950.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest3977950.c
Checking for size_t... Yes.
=== ztest3977950.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3977950.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest3977950.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3977950 ztest3977950.c
Checking for strerror... Yes.
=== ztest3977950.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3977950.c
Checking for unistd.h... Yes.
=== ztest3977950.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3977950.c
Checking for stdarg.h... Yes.
=== ztest3977950.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3977950.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest3977950.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest3977950 ztest3977950.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest3977950.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3977950.c
Checking for return value of vsnprintf()... Yes.
=== ztest3977950.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest3977950.c
ztest3977950.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/microwindows-dos/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 06:42:49 PM CDT
Checking for gcc...
=== ztest1119218.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1119218.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1119218.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1119218.c
Checking for shared library support...
=== ztest1119218.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1119218.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1119218.so ztest1119218.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1119218.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1119218.c
Checking for size_t... Yes.
=== ztest1119218.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119218.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1119218.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1119218 ztest1119218.c
Checking for strerror... Yes.
=== ztest1119218.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119218.c
Checking for unistd.h... Yes.
=== ztest1119218.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119218.c
Checking for stdarg.h... Yes.
=== ztest1119218.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119218.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1119218.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1119218 ztest1119218.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1119218.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119218.c
Checking for return value of vsnprintf()... Yes.
=== ztest1119218.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119218.c
ztest1119218.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 06:42:53 PM CDT
Checking for gcc...
=== ztest1119534.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1119534.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1119534.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1119534.c
Checking for shared library support...
=== ztest1119534.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1119534.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1119534.so ztest1119534.o
Building shared library libz.so.1.2.12 with gcc.
=== ztest1119534.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1119534.c
Checking for size_t... Yes.
=== ztest1119534.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119534.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1119534.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1119534 ztest1119534.c
Checking for strerror... Yes.
=== ztest1119534.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119534.c
Checking for unistd.h... Yes.
=== ztest1119534.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119534.c
Checking for stdarg.h... Yes.
=== ztest1119534.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119534.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1119534.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1119534 ztest1119534.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1119534.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119534.c
Checking for return value of vsnprintf()... Yes.
=== ztest1119534.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1119534.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.12
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 06:44:20 PM CDT
Checking for gcc...
=== ztest1121156.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1121156.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1121156.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1121156.c
Checking for shared library support...
=== ztest1121156.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1121156.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1121156.so ztest1121156.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1121156.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1121156.c
Checking for size_t... Yes.
=== ztest1121156.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121156.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1121156.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1121156 ztest1121156.c
Checking for strerror... Yes.
=== ztest1121156.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121156.c
Checking for unistd.h... Yes.
=== ztest1121156.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121156.c
Checking for stdarg.h... Yes.
=== ztest1121156.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121156.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1121156.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1121156 ztest1121156.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1121156.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121156.c
Checking for return value of vsnprintf()... Yes.
=== ztest1121156.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121156.c
ztest1121156.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux
Thu 12 May 2022 06:44:24 PM CDT
Checking for gcc...
=== ztest1121447.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1121447.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1121447.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1121447.c
Checking for shared library support...
=== ztest1121447.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1121447.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1121447.so ztest1121447.o
Building shared library libz.so.1.2.12 with gcc.
=== ztest1121447.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1121447.c
Checking for size_t... Yes.
=== ztest1121447.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121447.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1121447.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1121447 ztest1121447.c
Checking for strerror... Yes.
=== ztest1121447.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121447.c
Checking for unistd.h... Yes.
=== ztest1121447.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121447.c
Checking for stdarg.h... Yes.
=== ztest1121447.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121447.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1121447.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1121447 ztest1121447.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1121447.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121447.c
Checking for return value of vsnprintf()... Yes.
=== ztest1121447.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1121447.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.12
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 06:56:07 PM CDT
Checking for gcc...
=== ztest1133299.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1133299.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1133299.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1133299.c
Checking for shared library support...
=== ztest1133299.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1133299.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1133299.so ztest1133299.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1133299.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1133299.c
Checking for size_t... Yes.
=== ztest1133299.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1133299.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1133299.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1133299 ztest1133299.c
Checking for strerror... Yes.
=== ztest1133299.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1133299.c
Checking for unistd.h... Yes.
=== ztest1133299.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1133299.c
Checking for stdarg.h... Yes.
=== ztest1133299.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1133299.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1133299.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1133299 ztest1133299.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1133299.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1133299.c
Checking for return value of vsnprintf()... Yes.
=== ztest1133299.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1133299.c
ztest1133299.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --disable-shared
Thu 12 May 2022 06:56:11 PM CDT
unknown option: --disable-shared
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 06:59:18 PM CDT
Checking for gcc...
=== ztest1138166.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1138166.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1138166.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1138166.c
Checking for shared library support...
=== ztest1138166.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1138166.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1138166.so ztest1138166.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1138166.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1138166.c
Checking for size_t... Yes.
=== ztest1138166.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1138166.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1138166.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1138166 ztest1138166.c
Checking for strerror... Yes.
=== ztest1138166.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1138166.c
Checking for unistd.h... Yes.
=== ztest1138166.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1138166.c
Checking for stdarg.h... Yes.
=== ztest1138166.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1138166.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1138166.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1138166 ztest1138166.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1138166.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1138166.c
Checking for return value of vsnprintf()... Yes.
=== ztest1138166.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1138166.c
ztest1138166.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --disable-shared
Thu 12 May 2022 06:59:21 PM CDT
unknown option: --disable-shared
./configure --help for help
** ./configure aborting.
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 07:01:54 PM CDT
Checking for gcc...
=== ztest1141693.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1141693.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1141693.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1141693.c
Checking for shared library support...
=== ztest1141693.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1141693.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1141693.so ztest1141693.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1141693.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1141693.c
Checking for size_t... Yes.
=== ztest1141693.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141693.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1141693.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1141693 ztest1141693.c
Checking for strerror... Yes.
=== ztest1141693.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141693.c
Checking for unistd.h... Yes.
=== ztest1141693.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141693.c
Checking for stdarg.h... Yes.
=== ztest1141693.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141693.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1141693.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1141693 ztest1141693.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1141693.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141693.c
Checking for return value of vsnprintf()... Yes.
=== ztest1141693.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141693.c
ztest1141693.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux
Thu 12 May 2022 07:01:57 PM CDT
Checking for gcc...
=== ztest1141991.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1141991.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1141991.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1141991.c
Checking for shared library support...
=== ztest1141991.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1141991.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1141991.so ztest1141991.o
Building shared library libz.so.1.2.12 with gcc.
=== ztest1141991.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1141991.c
Checking for size_t... Yes.
=== ztest1141991.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141991.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1141991.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1141991 ztest1141991.c
Checking for strerror... Yes.
=== ztest1141991.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141991.c
Checking for unistd.h... Yes.
=== ztest1141991.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141991.c
Checking for stdarg.h... Yes.
=== ztest1141991.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141991.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1141991.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1141991 ztest1141991.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1141991.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141991.c
Checking for return value of vsnprintf()... Yes.
=== ztest1141991.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1141991.c
Checking for attribute(visibility) support... Yes.
ALL = static shared all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB = libz.so
SHAREDLIBM = libz.so.1
SHAREDLIBV = libz.so.1.2.12
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --help
Thu 12 May 2022 07:02:47 PM CDT
usage:
configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]
[--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]
[--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 07:04:28 PM CDT
Checking for gcc...
=== ztest1144597.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1144597.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1144597.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1144597.c
Checking for shared library support...
=== ztest1144597.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1144597.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1144597.so ztest1144597.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1144597.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1144597.c
Checking for size_t... Yes.
=== ztest1144597.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144597.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1144597.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1144597 ztest1144597.c
Checking for strerror... Yes.
=== ztest1144597.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144597.c
Checking for unistd.h... Yes.
=== ztest1144597.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144597.c
Checking for stdarg.h... Yes.
=== ztest1144597.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144597.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1144597.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1144597 ztest1144597.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1144597.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144597.c
Checking for return value of vsnprintf()... Yes.
=== ztest1144597.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144597.c
ztest1144597.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --static
Thu 12 May 2022 07:04:32 PM CDT
Checking for gcc...
=== ztest1144896.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1144896.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1144896.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1144896.c
Building static library libz.a version 1.2.12 with gcc.
=== ztest1144896.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1144896.c
Checking for size_t... Yes.
=== ztest1144896.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144896.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1144896.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1144896 ztest1144896.c
Checking for strerror... Yes.
=== ztest1144896.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144896.c
Checking for unistd.h... Yes.
=== ztest1144896.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144896.c
Checking for stdarg.h... Yes.
=== ztest1144896.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144896.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1144896.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1144896 ztest1144896.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1144896.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144896.c
Checking for return value of vsnprintf()... Yes.
=== ztest1144896.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1144896.c
Checking for attribute(visibility) support... Yes.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 07:05:15 PM CDT
Checking for gcc...
=== ztest1145776.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1145776.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1145776.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1145776.c
Checking for shared library support...
=== ztest1145776.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1145776.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1145776.so ztest1145776.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1145776.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1145776.c
Checking for size_t... Yes.
=== ztest1145776.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1145776.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1145776.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1145776 ztest1145776.c
Checking for strerror... Yes.
=== ztest1145776.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1145776.c
Checking for unistd.h... Yes.
=== ztest1145776.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1145776.c
Checking for stdarg.h... Yes.
=== ztest1145776.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1145776.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1145776.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1145776 ztest1145776.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1145776.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1145776.c
Checking for return value of vsnprintf()... Yes.
=== ztest1145776.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1145776.c
ztest1145776.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --static
Thu 12 May 2022 07:05:18 PM CDT
Checking for gcc...
=== ztest1146072.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1146072.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1146072.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1146072.c
Building static library libz.a version 1.2.12 with gcc.
=== ztest1146072.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1146072.c
Checking for size_t... Yes.
=== ztest1146072.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1146072.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1146072.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1146072 ztest1146072.c
Checking for strerror... Yes.
=== ztest1146072.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1146072.c
Checking for unistd.h... Yes.
=== ztest1146072.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1146072.c
Checking for stdarg.h... Yes.
=== ztest1146072.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1146072.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1146072.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1146072 ztest1146072.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1146072.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1146072.c
Checking for return value of vsnprintf()... Yes.
=== ztest1146072.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1146072.c
Checking for attribute(visibility) support... Yes.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 07:32:29 PM CDT
Checking for gcc...
=== ztest1175565.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1175565.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1175565.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1175565.c
Checking for shared library support...
=== ztest1175565.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1175565.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1175565.so ztest1175565.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1175565.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1175565.c
Checking for size_t... Yes.
=== ztest1175565.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175565.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1175565.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1175565 ztest1175565.c
Checking for strerror... Yes.
=== ztest1175565.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175565.c
Checking for unistd.h... Yes.
=== ztest1175565.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175565.c
Checking for stdarg.h... Yes.
=== ztest1175565.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175565.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1175565.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1175565 ztest1175565.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1175565.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175565.c
Checking for return value of vsnprintf()... Yes.
=== ztest1175565.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175565.c
ztest1175565.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --static
Thu 12 May 2022 07:32:33 PM CDT
Checking for gcc...
=== ztest1175865.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1175865.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1175865.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1175865.c
Building static library libz.a version 1.2.12 with gcc.
=== ztest1175865.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1175865.c
Checking for size_t... Yes.
=== ztest1175865.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175865.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1175865.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1175865 ztest1175865.c
Checking for strerror... Yes.
=== ztest1175865.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175865.c
Checking for unistd.h... Yes.
=== ztest1175865.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175865.c
Checking for stdarg.h... Yes.
=== ztest1175865.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175865.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1175865.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1175865 ztest1175865.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1175865.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175865.c
Checking for return value of vsnprintf()... Yes.
=== ztest1175865.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1175865.c
Checking for attribute(visibility) support... Yes.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 07:37:26 PM CDT
Checking for gcc...
=== ztest1182894.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1182894.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1182894.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1182894.c
Checking for shared library support...
=== ztest1182894.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1182894.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1182894.so ztest1182894.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1182894.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1182894.c
Checking for size_t... Yes.
=== ztest1182894.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1182894.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1182894.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1182894 ztest1182894.c
Checking for strerror... Yes.
=== ztest1182894.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1182894.c
Checking for unistd.h... Yes.
=== ztest1182894.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1182894.c
Checking for stdarg.h... Yes.
=== ztest1182894.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1182894.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1182894.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1182894 ztest1182894.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1182894.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1182894.c
Checking for return value of vsnprintf()... Yes.
=== ztest1182894.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1182894.c
ztest1182894.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --static
Thu 12 May 2022 07:37:30 PM CDT
Checking for gcc...
=== ztest1183199.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1183199.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1183199.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1183199.c
Building static library libz.a version 1.2.12 with gcc.
=== ztest1183199.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1183199.c
Checking for size_t... Yes.
=== ztest1183199.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1183199.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1183199.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1183199 ztest1183199.c
Checking for strerror... Yes.
=== ztest1183199.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1183199.c
Checking for unistd.h... Yes.
=== ztest1183199.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1183199.c
Checking for stdarg.h... Yes.
=== ztest1183199.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1183199.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1183199.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1183199 ztest1183199.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1183199.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1183199.c
Checking for return value of vsnprintf()... Yes.
=== ztest1183199.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1183199.c
Checking for attribute(visibility) support... Yes.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 07:43:48 PM CDT
Checking for gcc...
=== ztest1191058.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1191058.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1191058.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1191058.c
Checking for shared library support...
=== ztest1191058.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1191058.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1191058.so ztest1191058.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1191058.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1191058.c
Checking for size_t... Yes.
=== ztest1191058.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191058.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1191058.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1191058 ztest1191058.c
Checking for strerror... Yes.
=== ztest1191058.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191058.c
Checking for unistd.h... Yes.
=== ztest1191058.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191058.c
Checking for stdarg.h... Yes.
=== ztest1191058.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191058.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1191058.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1191058 ztest1191058.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1191058.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191058.c
Checking for return value of vsnprintf()... Yes.
=== ztest1191058.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191058.c
ztest1191058.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --static
Thu 12 May 2022 07:43:51 PM CDT
Checking for gcc...
=== ztest1191349.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1191349.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1191349.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1191349.c
Building static library libz.a version 1.2.12 with gcc.
=== ztest1191349.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1191349.c
Checking for size_t... Yes.
=== ztest1191349.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191349.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1191349.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1191349 ztest1191349.c
Checking for strerror... Yes.
=== ztest1191349.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191349.c
Checking for unistd.h... Yes.
=== ztest1191349.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191349.c
Checking for stdarg.h... Yes.
=== ztest1191349.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191349.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1191349.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1191349 ztest1191349.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1191349.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191349.c
Checking for return value of vsnprintf()... Yes.
=== ztest1191349.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1191349.c
Checking for attribute(visibility) support... Yes.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/dos
Thu 12 May 2022 08:19:17 PM CDT
Checking for gcc...
=== ztest1233443.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1233443.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1233443.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1233443.c
Checking for shared library support...
=== ztest1233443.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -w -c -O3 -fPIC ztest1233443.c
-fPIC ignored (not supported for DJGPP)
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest1233443.so ztest1233443.o
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/crt0.o:crt0.s:(.data+0xc2): undefined reference to `main'
/opt/cross/djgpp/lib/gcc/i586-pc-msdosdjgpp/10.2.0/../../../../i586-pc-msdosdjgpp/lib/libc.a(crt1.o):crt1.c:(.text+0x3f8): undefined reference to `main'
collect2: error: ld returned 1 exit status
(exit code 1)
No shared library support.
Building static library libz.a version 1.2.12 with gcc.
=== ztest1233443.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1233443.c
Checking for size_t... Yes.
=== ztest1233443.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233443.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1233443.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1233443 ztest1233443.c
Checking for strerror... Yes.
=== ztest1233443.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233443.c
Checking for unistd.h... Yes.
=== ztest1233443.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233443.c
Checking for stdarg.h... Yes.
=== ztest1233443.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233443.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1233443.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1233443 ztest1233443.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1233443.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233443.c
Checking for return value of vsnprintf()... Yes.
=== ztest1233443.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233443.c
ztest1233443.c:6:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
6 | }
| ^
Checking for attribute(visibility) support... No.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/dos
sharedlibdir = ${libdir}
uname = Linux
--------------------
--------------------
./configure --prefix=/home/scott/code/gui/installed/linux --static
Thu 12 May 2022 08:19:20 PM CDT
Checking for gcc...
=== ztest1233740.c ===
extern int getchar();
int hello() {return getchar();}
===
gcc -c ztest1233740.c
... using gcc
Checking for obsessive-compulsive compiler options...
=== ztest1233740.c ===
int foo() { return 0; }
===
gcc -c -O3 ztest1233740.c
Building static library libz.a version 1.2.12 with gcc.
=== ztest1233740.c ===
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
gcc -c -O3 ztest1233740.c
Checking for size_t... Yes.
=== ztest1233740.c ===
#include <sys/types.h>
off64_t dummy = 0;
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233740.c
Checking for off64_t... Yes.
Checking for fseeko... Yes.
=== ztest1233740.c ===
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1233740 ztest1233740.c
Checking for strerror... Yes.
=== ztest1233740.c ===
#include <unistd.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233740.c
Checking for unistd.h... Yes.
=== ztest1233740.c ===
#include <stdarg.h>
int main() { return 0; }
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233740.c
Checking for stdarg.h... Yes.
=== ztest1233740.c ===
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233740.c
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
=== ztest1233740.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
char buf[20];
va_list ap;
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return 0;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest1233740 ztest1233740.c
Checking for vsnprintf() in stdio.h... Yes.
=== ztest1233740.c ===
#include <stdio.h>
#include <stdarg.h>
int mytest(const char *fmt, ...)
{
int n;
char buf[20];
va_list ap;
va_start(ap, fmt);
n = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return n;
}
int main()
{
return (mytest("Hello%d\n", 1));
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233740.c
Checking for return value of vsnprintf()... Yes.
=== ztest1233740.c ===
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1233740.c
Checking for attribute(visibility) support... Yes.
ALL = static all64
AR = ar
ARFLAGS = rc
CC = gcc
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
CPP = gcc -E
EXE =
LDCONFIG = ldconfig
LDFLAGS =
LDSHARED = gcc
LDSHAREDLIBC = -lc
OBJC = $(OBJZ) $(OBJG)
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
RANLIB = ranlib
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
SHAREDLIB =
SHAREDLIBM =
SHAREDLIBV =
STATICLIB = libz.a
TEST = all teststatic test64
VER = 1.2.12
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
prefix = /home/scott/code/gui/installed/linux
sharedlibdir = ${libdir}
uname = Linux
--------------------