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] | |
What is the right way to set the RPATH on the binary / pass -R/opt/csw/lib to the linker? By reading the docs, searching the web and reading code I found out so far the following potential ways:
1. "--with-boot-ldflags=flags - This option may be used to set linker flags to be used when linking stage 2 and later when bootstrapping GCC. "
2. exporting LDFLAGS
3. exporting BOOT_LDFLAGS
4. exporting LDFLAGS_FOR_TARGET
Is any of these ways the right way to pass -R/opt/csw/lib? If none, what is the right way?
-- Marc Glisse
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |