Cloned library zlib-1.2.13 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

164 lines
3.4 KiB

2 years ago
--------------------
2 years ago
./configure --prefix=../Test
Wed 28 Jun 2023 08:57:56 PM CDT
2 years ago
Checking for gcc...
2 years ago
=== ztest699269.c ===
2 years ago
extern int getchar();
int hello() {return getchar();}
===
2 years ago
gcc -c ztest699269.c
2 years ago
... using gcc
Checking for obsessive-compulsive compiler options...
2 years ago
=== ztest699269.c ===
2 years ago
int foo() { return 0; }
===
2 years ago
gcc -c -O3 ztest699269.c
2 years ago
Checking for shared library support...
2 years ago
=== ztest699269.c ===
2 years ago
extern int getchar();
int hello() {return getchar();}
===
2 years ago
gcc -w -c -O3 -fPIC ztest699269.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest699269.so ztest699269.o
2 years ago
Building shared library libz.so.1.2.13 with gcc.
2 years ago
=== ztest699269.c ===
2 years ago
#include <stdio.h>
#include <stdlib.h>
size_t dummy = 0;
===
2 years ago
gcc -c -O3 ztest699269.c
2 years ago
Checking for size_t... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#include <sys/types.h>
off64_t dummy = 0;
===
2 years ago
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest699269.c
2 years ago
Checking for off64_t... Yes.
Checking for fseeko... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#include <string.h>
#include <errno.h>
int main() { return strlen(strerror(errno)); }
===
2 years ago
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest699269 ztest699269.c
2 years ago
Checking for strerror... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#include <unistd.h>
int main() { return 0; }
===
2 years ago
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest699269.c
2 years ago
Checking for unistd.h... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#include <stdarg.h>
int main() { return 0; }
===
2 years ago
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest699269.c
2 years ago
Checking for stdarg.h... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#include <stdio.h>
#include <stdarg.h>
#include "zconf.h"
int main()
{
#ifndef STDC
choke me
#endif
return 0;
}
===
2 years ago
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest699269.c
2 years ago
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
2 years ago
=== ztest699269.c ===
2 years ago
#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));
}
===
2 years ago
gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest699269 ztest699269.c
2 years ago
Checking for vsnprintf() in stdio.h... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#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));
}
===
2 years ago
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest699269.c
2 years ago
Checking for return value of vsnprintf()... Yes.
2 years ago
=== ztest699269.c ===
2 years ago
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
int ZLIB_INTERNAL foo;
int main()
{
return 0;
}
===
2 years ago
gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest699269.c
2 years ago
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 =
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.13
STATICLIB = libz.a
TEST = all teststatic testshared test64
VER = 1.2.13
SRCDIR =
exec_prefix = ${prefix}
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/share/man
2 years ago
prefix = ../Test
2 years ago
sharedlibdir = ${libdir}
uname = Linux
--------------------