This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgcc.so.1 problem


Dear users;

I wan't to build my own zlib on solaris10 with gcc.

My gcc was build
gcc -v
Reading specs from /opt/sfw/lib/gcc/i386-pc-solaris2.10/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas --enable-shared --disable-libgcj
Thread model: posix
gcc version 3.4.2


I compile zlib with
./configure --prefix=/opt/zlib --shared; gmake gmake test; gmake install

After building, zlib has libgcc.so.1 dependencies
# ldd libz.so
# libgcc_s.so.1 =>         (file not found)

How can I compile libgcc as a shared library, when libgcc is not in crle, standard search path ?

Please give me some help or hint;)

Thank you.
Stefan





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]