Sample Header Ad - 728x90

cc/gcc -R flag to linker

0 votes
2 answers
91 views
Reference: Weak symbol In the link the following linker option is mentioned: cc main.o -Lpwd -Wl,-Rpwd -lpowerslow -o main2 The purpose of all of the above flags have been documented in the GCC Manual, except -R. What does this flag instruct the linker? TIA Vinod
Asked by Vinod (167 rep)
Feb 13, 2025, 01:51 AM
Last activity: Feb 13, 2025, 05:53 AM