3791 lines
92 KiB
Plaintext
3791 lines
92 KiB
Plaintext
--------------------
|
|
./configure --build=i686-linux --host=mipsel-openwrt-linux --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 10:14:24 UTC 2021
|
|
unknown option: --build=i686-linux
|
|
./configure --help for help
|
|
** ./configure aborting.
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --host=mipsel-openwrt-linux --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 10:14:42 UTC 2021
|
|
unknown option: --host=mipsel-openwrt-linux
|
|
./configure --help for help
|
|
** ./configure aborting.
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 10:14:52 UTC 2021
|
|
=== ztest30145.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c ztest30145.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest30145.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest30145.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest30145.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -w -c -O3 -fPIC ztest30145.c
|
|
mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest30145.so ztest30145.o
|
|
Building shared library libz.so.1.2.11 with mipsel-openwrt-linux-uclibc-gcc.
|
|
|
|
=== ztest30145.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest30145.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest30145.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30145.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest30145.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest30145 ztest30145.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest30145.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30145.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest30145.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30145.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest30145.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30145.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest30145.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest30145 ztest30145.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest30145.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30145.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest30145.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30145.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = mipsel-openwrt-linux-uclibc-ar
|
|
ARFLAGS = rc
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = mipsel-openwrt-linux-uclibc-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 10:18:02 UTC 2021
|
|
=== ztest30431.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c ztest30431.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest30431.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest30431.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest30431.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -w -c -O3 -fPIC ztest30431.c
|
|
mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest30431.so ztest30431.o
|
|
Building shared library libz.so.1.2.11 with mipsel-openwrt-linux-uclibc-gcc.
|
|
|
|
=== ztest30431.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest30431.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest30431.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30431.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest30431.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest30431 ztest30431.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest30431.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30431.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest30431.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30431.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest30431.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30431.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest30431.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest30431 ztest30431.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest30431.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30431.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest30431.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30431.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = mipsel-openwrt-linux-uclibc-ar
|
|
ARFLAGS = rc
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = mipsel-openwrt-linux-uclibc-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 10:18:37 UTC 2021
|
|
=== ztest31017.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c ztest31017.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest31017.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest31017.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest31017.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -w -c -O3 -fPIC ztest31017.c
|
|
mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest31017.so ztest31017.o
|
|
Building shared library libz.so.1.2.11 with mipsel-openwrt-linux-uclibc-gcc.
|
|
|
|
=== ztest31017.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest31017.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest31017.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest31017.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest31017.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest31017 ztest31017.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest31017.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest31017.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest31017.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest31017.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest31017.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest31017.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest31017.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest31017 ztest31017.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest31017.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest31017.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest31017.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest31017.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = mipsel-openwrt-linux-uclibc-ar
|
|
ARFLAGS = rc
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = mipsel-openwrt-linux-uclibc-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 13:21:47 UTC 2021
|
|
=== ztest30168.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c ztest30168.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest30168.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest30168.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest30168.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -w -c -O3 -fPIC ztest30168.c
|
|
mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest30168.so ztest30168.o
|
|
Building shared library libz.so.1.2.11 with mipsel-openwrt-linux-uclibc-gcc.
|
|
|
|
=== ztest30168.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest30168.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest30168.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30168.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest30168.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest30168 ztest30168.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest30168.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30168.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest30168.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30168.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest30168.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30168.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest30168.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest30168 ztest30168.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest30168.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30168.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest30168.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest30168.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = mipsel-openwrt-linux-uclibc-ar
|
|
ARFLAGS = rc
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = mipsel-openwrt-linux-uclibc-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Sun May 16 13:48:48 UTC 2021
|
|
=== ztest15096.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c ztest15096.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest15096.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest15096.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest15096.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -w -c -O3 -fPIC ztest15096.c
|
|
mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest15096.so ztest15096.o
|
|
Building shared library libz.so.1.2.11 with mipsel-openwrt-linux-uclibc-gcc.
|
|
|
|
=== ztest15096.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest15096.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest15096.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15096.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest15096.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest15096 ztest15096.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest15096.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15096.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest15096.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15096.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest15096.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15096.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest15096.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest15096 ztest15096.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest15096.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15096.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest15096.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest15096.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = mipsel-openwrt-linux-uclibc-ar
|
|
ARFLAGS = rc
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = mipsel-openwrt-linux-uclibc-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install --shared
|
|
Mon May 17 01:36:25 UTC 2021
|
|
=== ztest26302.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c ztest26302.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest26302.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest26302.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest26302.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -w -c -O3 -fPIC ztest26302.c
|
|
mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest26302.so ztest26302.o
|
|
Building shared library libz.so.1.2.11 with mipsel-openwrt-linux-uclibc-gcc.
|
|
|
|
=== ztest26302.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 ztest26302.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest26302.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest26302.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest26302.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest26302 ztest26302.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest26302.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest26302.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest26302.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest26302.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest26302.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest26302.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest26302.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest26302 ztest26302.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest26302.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));
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest26302.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest26302.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
mipsel-openwrt-linux-uclibc-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest26302.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = mipsel-openwrt-linux-uclibc-ar
|
|
ARFLAGS = rc
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = mipsel-openwrt-linux-uclibc-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = mipsel-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/HC220/bba_3_0_platform/platform/build/../../platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Wed Jan 15 13:45:00 UTC 2025
|
|
=== ztest75246.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest75246.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest75246.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest75246.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest75246.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest75246.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest75246.so ztest75246.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest75246.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest75246.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest75246.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest75246.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest75246.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest75246 ztest75246.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest75246.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest75246.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest75246.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest75246.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest75246.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest75246.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest75246.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest75246 ztest75246.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest75246.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest75246.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest75246.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest75246.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 16 01:13:25 UTC 2025
|
|
=== ztest42945.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest42945.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest42945.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest42945.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest42945.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest42945.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest42945.so ztest42945.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest42945.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest42945.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest42945.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest42945.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest42945.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest42945 ztest42945.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest42945.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest42945.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest42945.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest42945.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest42945.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest42945.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest42945.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest42945 ztest42945.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest42945.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest42945.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest42945.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest42945.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 16 01:22:57 UTC 2025
|
|
=== ztest10336.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest10336.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest10336.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest10336.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest10336.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest10336.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest10336.so ztest10336.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest10336.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest10336.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest10336.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest10336.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest10336.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest10336 ztest10336.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest10336.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest10336.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest10336.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest10336.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest10336.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest10336.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest10336.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest10336 ztest10336.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest10336.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest10336.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest10336.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest10336.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 16 01:54:17 UTC 2025
|
|
=== ztest112337.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest112337.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest112337.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest112337.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest112337.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest112337.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest112337.so ztest112337.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest112337.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest112337.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest112337.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest112337.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest112337.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest112337 ztest112337.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest112337.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest112337.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest112337.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest112337.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest112337.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest112337.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest112337.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest112337 ztest112337.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest112337.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest112337.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest112337.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest112337.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Mon Jan 20 01:52:19 UTC 2025
|
|
=== ztest99773.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest99773.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest99773.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest99773.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest99773.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest99773.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest99773.so ztest99773.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest99773.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest99773.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest99773.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest99773.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest99773.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest99773 ztest99773.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest99773.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest99773.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest99773.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest99773.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest99773.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest99773.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest99773.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest99773 ztest99773.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest99773.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest99773.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest99773.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest99773.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Mon Jan 20 08:20:46 UTC 2025
|
|
=== ztest95657.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest95657.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest95657.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest95657.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest95657.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest95657.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest95657.so ztest95657.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest95657.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest95657.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest95657.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest95657.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest95657.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest95657 ztest95657.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest95657.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest95657.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest95657.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest95657.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest95657.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest95657.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest95657.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest95657 ztest95657.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest95657.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest95657.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest95657.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest95657.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Mon Jan 20 08:52:07 UTC 2025
|
|
=== ztest19424.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest19424.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest19424.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest19424.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest19424.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest19424.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest19424.so ztest19424.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest19424.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest19424.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest19424.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest19424.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest19424.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest19424 ztest19424.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest19424.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest19424.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest19424.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest19424.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest19424.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest19424.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest19424.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest19424 ztest19424.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest19424.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest19424.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest19424.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest19424.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Mon Jan 20 12:10:33 UTC 2025
|
|
=== ztest24280.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest24280.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest24280.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest24280.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest24280.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest24280.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest24280.so ztest24280.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest24280.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest24280.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest24280.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest24280.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest24280.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest24280 ztest24280.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest24280.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest24280.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest24280.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest24280.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest24280.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest24280.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest24280.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest24280 ztest24280.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest24280.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest24280.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest24280.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest24280.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Tue Jan 21 02:47:58 UTC 2025
|
|
=== ztest84662.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest84662.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest84662.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest84662.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest84662.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest84662.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest84662.so ztest84662.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest84662.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest84662.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest84662.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest84662.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest84662.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest84662 ztest84662.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest84662.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest84662.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest84662.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest84662.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest84662.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest84662.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest84662.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest84662 ztest84662.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest84662.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest84662.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest84662.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest84662.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Tue Jan 21 08:07:54 UTC 2025
|
|
=== ztest109710.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest109710.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest109710.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest109710.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest109710.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest109710.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest109710.so ztest109710.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest109710.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest109710.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest109710.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest109710.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest109710.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest109710 ztest109710.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest109710.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest109710.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest109710.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest109710.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest109710.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest109710.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest109710.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest109710 ztest109710.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest109710.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest109710.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest109710.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest109710.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Wed Jan 22 12:03:59 UTC 2025
|
|
=== ztest52016.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest52016.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest52016.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest52016.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest52016.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest52016.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest52016.so ztest52016.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest52016.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest52016.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest52016.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest52016.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest52016.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest52016 ztest52016.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest52016.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest52016.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest52016.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest52016.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest52016.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest52016.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest52016.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest52016 ztest52016.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest52016.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest52016.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest52016.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest52016.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Wed Jan 22 12:10:41 UTC 2025
|
|
=== ztest2329.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest2329.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest2329.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest2329.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest2329.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest2329.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest2329.so ztest2329.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest2329.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest2329.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest2329.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2329.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest2329.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2329 ztest2329.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest2329.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2329.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest2329.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2329.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest2329.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2329.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest2329.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest2329 ztest2329.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest2329.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2329.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest2329.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest2329.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Wed Jan 22 12:54:38 UTC 2025
|
|
=== ztest40530.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest40530.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest40530.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest40530.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest40530.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest40530.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest40530.so ztest40530.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest40530.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest40530.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest40530.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest40530.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest40530.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest40530 ztest40530.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest40530.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest40530.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest40530.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest40530.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest40530.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest40530.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest40530.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest40530 ztest40530.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest40530.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest40530.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest40530.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest40530.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 23 01:05:50 UTC 2025
|
|
=== ztest113049.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest113049.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest113049.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest113049.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest113049.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest113049.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest113049.so ztest113049.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest113049.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest113049.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest113049.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest113049.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest113049.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest113049 ztest113049.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest113049.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest113049.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest113049.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest113049.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest113049.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest113049.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest113049.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest113049 ztest113049.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest113049.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest113049.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest113049.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest113049.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 23 01:20:34 UTC 2025
|
|
=== ztest56044.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest56044.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest56044.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest56044.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest56044.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest56044.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest56044.so ztest56044.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest56044.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest56044.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest56044.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest56044.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest56044.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest56044 ztest56044.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest56044.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest56044.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest56044.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest56044.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest56044.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest56044.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest56044.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest56044 ztest56044.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest56044.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest56044.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest56044.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest56044.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 23 01:32:42 UTC 2025
|
|
=== ztest128405.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest128405.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest128405.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest128405.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest128405.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest128405.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest128405.so ztest128405.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest128405.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest128405.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest128405.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest128405.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest128405.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest128405 ztest128405.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest128405.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest128405.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest128405.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest128405.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest128405.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest128405.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest128405.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest128405 ztest128405.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest128405.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest128405.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest128405.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest128405.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|
|
--------------------
|
|
./configure --prefix=/opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install --shared
|
|
Thu Jan 23 01:59:44 UTC 2025
|
|
=== ztest16087.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c ztest16087.c
|
|
... using gcc
|
|
|
|
Checking for obsessive-compulsive compiler options...
|
|
=== ztest16087.c ===
|
|
int foo() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest16087.c
|
|
|
|
Checking for shared library support...
|
|
=== ztest16087.c ===
|
|
extern int getchar();
|
|
int hello() {return getchar();}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -w -c -O3 -fPIC ztest16087.c
|
|
arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest16087.so ztest16087.o
|
|
Building shared library libz.so.1.2.11 with arm-buildroot-linux-gnueabi-gcc.
|
|
|
|
=== ztest16087.c ===
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
size_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 ztest16087.c
|
|
Checking for size_t... Yes.
|
|
|
|
|
|
=== ztest16087.c ===
|
|
#include <sys/types.h>
|
|
off64_t dummy = 0;
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16087.c
|
|
Checking for off64_t... Yes.
|
|
Checking for fseeko... Yes.
|
|
|
|
=== ztest16087.c ===
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
int main() { return strlen(strerror(errno)); }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest16087 ztest16087.c
|
|
Checking for strerror... Yes.
|
|
|
|
=== ztest16087.c ===
|
|
#include <unistd.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16087.c
|
|
Checking for unistd.h... Yes.
|
|
|
|
=== ztest16087.c ===
|
|
#include <stdarg.h>
|
|
int main() { return 0; }
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16087.c
|
|
Checking for stdarg.h... Yes.
|
|
|
|
=== ztest16087.c ===
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "zconf.h"
|
|
int main()
|
|
{
|
|
#ifndef STDC
|
|
choke me
|
|
#endif
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16087.c
|
|
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
|
|
|
=== ztest16087.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest16087 ztest16087.c
|
|
Checking for vsnprintf() in stdio.h... Yes.
|
|
|
|
=== ztest16087.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));
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16087.c
|
|
Checking for return value of vsnprintf()... Yes.
|
|
|
|
=== ztest16087.c ===
|
|
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
|
int ZLIB_INTERNAL foo;
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
===
|
|
arm-buildroot-linux-gnueabi-gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16087.c
|
|
Checking for attribute(visibility) support... Yes.
|
|
|
|
ALL = static shared all64
|
|
AR = arm-buildroot-linux-gnueabi-ar
|
|
ARFLAGS = rc
|
|
CC = arm-buildroot-linux-gnueabi-gcc
|
|
CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
CPP = arm-buildroot-linux-gnueabi-gcc -E
|
|
EXE =
|
|
LDCONFIG = ldconfig
|
|
LDFLAGS =
|
|
LDSHARED = arm-buildroot-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
|
|
LDSHAREDLIBC = -lc
|
|
OBJC = $(OBJZ) $(OBJG)
|
|
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
|
RANLIB = arm-buildroot-linux-gnueabi-ranlib
|
|
SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
|
|
SHAREDLIB = libz.so
|
|
SHAREDLIBM = libz.so.1
|
|
SHAREDLIBV = libz.so.1.2.11
|
|
STATICLIB = libz.a
|
|
TEST = all teststatic testshared test64
|
|
VER = 1.2.11
|
|
Z_U4 =
|
|
SRCDIR =
|
|
exec_prefix = ${prefix}
|
|
includedir = ${prefix}/include
|
|
libdir = ${exec_prefix}/lib
|
|
mandir = ${prefix}/share/man
|
|
prefix = /opt/bba/bba_3_0_platform/platform/apps/public/zlib-1.2.11/install
|
|
sharedlibdir = ${libdir}
|
|
uname = Linux
|
|
--------------------
|
|
|
|
|