This is the mail archive of the gcc@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]

Pb with libiconv while building gcc-4.1.0


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.


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