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: Fwd: Compiling pgm for an older linux version - cross compiler


The older system is an embedded one --> no compiler on it (run on 2mb
flash mem).
I build this one a few years ago with an old linux desktop. And I
don't have it anymore. But I have to make an upgrade for the embedded
system...

So I have to :
1- find the glibc version of my embedded system
2- install this version on my actual system without erasing my actual one (how?)
3- compile my sources with gcc and a parameter to specify this version (how?)

Once again, many thanks for your help.
Jack

On Thu, Jan 20, 2011 at 10:47 PM, Ian Lance Taylor <iant@google.com> wrote:
> Jacques Greindl <jgreindl@gmail.com> writes:
>
>> What I need is to be sure that my program will run on the older system.
>> And yes, I have the source files.
>
> The best way to do that is to build your program on the older system.
>
> If that is not possible, the key thing you need is to compile and link
> using the version of glibc which runs on the older system.
>
> Ian
>


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