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] | |
geos@epost.de (Georg Schwarz) writes: > It looks like gcc/g++ assume that the path where libstdc++ is installed, > i.e. typically PREFIX/lib, is in the runtime library path. If that is > not the case, launching an executable compiled with gcc/g++ fails with > rld: Fatal Error: cannot map soname > 'libstdc++.so.7' using any of the filenames [...] > > This is gcc 3.4.0 on IRIX 5.3 using the native SGI ld. > Can gcc be compiled to link executables with an appropriate -rpath > option, when necessary, i.e. when libstdc++ is needed? This is answered in our FAQ: http://gcc.gnu.org/faq.html#rpath Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |