Forum - zlib-1.2.11

Jump to navigation Jump to search
Overview > Topics > Porting > zlib-1.2.11
[#18]

Hello,

I confirmed that "make check" of zlib-1.2.11 was passed by NEC C/C++ compiler version 2.3.1.

$ tar xzf zlib-1.2.11.tar.gz
$ cd zlib-1.2.11
$ export CC=ncc-2.3.1
$ ./configure --prefix=zlib-install-path
$ make install
Posted by NEC admin (administrator) on 17 June 2022 at 00:50.

Dear all,

I tried to create the shared library and successed that. To create the shared library, I set enviroment variable "LDSHARED" to "ncc-x.x.x -shared"

I confirmed that "make check" with shared library was passed by compiler version 2.5.1, 3.0.8.

$ tar xzf zlib-1.2.11.tar.gz
$ cd zlib-1.2.11
$ export CC=ncc-3.0.8
$ export LDSHARED="ncc-3.0.8 -shared"
$ export VE_LD_LIBRARY_PATH="zlib-install-path/lib"
$ ./configure --prefix=zlib-install-path
$ make install 
$ make check
Posted by NEC admin (administrator) on 17 June 2022 at 00:51.