Hi all,
I am trying to build/install gcc-4.1.0 on my Linux box (RHEL-3), in a
non-standard prefix.
I use -with-libiconv-prefix the tell configure where to find libiconv,
and the configure step works.
The build step fails in libcpp:
/apa/gnu/Linux-RH-WS-3/gcc/gcc-3.4.4/bin/gcc -O2
-I/apa/gnu/Linux-RH-WS-3/include -o makedepend \
makedepend.o libcpp.a ../libiberty/libiberty.a \
-liconv
/apa/gnu/Linux-RH-WS-3/.package/gcc-3.4.4/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -liconv
collect2: ld returned 1 exit status
It turns out that the proper -L flags do not get to this point.
Maybe I am not using configure in the right way?
Thanks for any help,
Christophe.