Re: Fwd: Compiling pgm for an older linux version - cross compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> wrote:
> Jacques Greindl <jgreindl@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux