Bug#51181: libcgic_1.06-3 (dist=unstable)]: powerpc has no libc5
Package: libcgic
Version: 1.06-3
Sevrity: important
debian/rules build DEB_BUILD_ARCH=powerpc DEB_BUILD_GNU_CPU=powerpc DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=powerpc-linux DEB_HOST_ARCH=powerpc DEB_HOST_GNU_CPU=powerpc DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=powerpc-linux
dh_testdir
mkdir shared-g static-g shared static
#
# First build the shared glibc library
#
gcc -O2 -fPIC -pipe -c cgic.c -o shared-g/cgic.o
cd shared-g ; \
gcc -shared -Wl,-soname,libcgic.so.1 -o libcgic.so.1.06 *.o -lc
#
# Build the static glibc library
#
gcc -O2 -pipe -c cgic.c -o static-g/cgic.o
cd static-g ; \
ar rv libcgic.a *.o
a - cgic.o
#
# Now build the shared libc5 library
#
/usr/powerpc-linuxlibc1/bin/gcc -O2 -fPIC -pipe -c cgic.c -o shared/cgic.o
make: /usr/powerpc-linuxlibc1/bin/gcc: Command not found
Please differ between archs with libc5 and archs without libc5. Powerpc
is one without.
Thanks,
Hartmut
Reply to: