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: Problem with linking static lib text into specific section


Elad Yosef <elad.yosef@gmail.com> writes:

> Hi I have the following in my linker script:
>
> I'm forcing to link the text and the rodata from libMy-Cli.a into a
> specific section.
> Now I have additional file libMy-GUI.a that I also want to link in similar way.
> But It fails I get linking error that some addresses are out of the memory.
> Is there more elegant way to what i'm trying to achieve?

What is the exact error message?

This general approach should work.

Ian


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