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]

RE: why is g++ relocation error linking only showing when listing objects explicitly?


>How do I turn the foobar.a into the foobar.so  ???


OK, I got it

>g++ -Wl,--whole-archive foobar.a -o foobar.so



Except...  of course, again I get 

relocation truncated to fit: R_PPC_PLTREL24 against symbol...

BACK TO SQUARE ONE


yes foobar.a is 140MB.  What to do??



Thank you,

Mark



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