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] | |
On Thu, 7 Jun 2007, David Daney wrote:
glibc does not work very well statically linked. So I don't think that is a good idea.
People keep saying that....but never saying in what way doesn't it work or why.
No. Just build on this system (it could take a day or two if you are serious about the specifications) and use the result everywhere.Perhaps you should build the toolchain on the oldest distribution that will have to be supported. An alternative is to have a build for each incompatible host system.
So do something that takes several hours to build on my latest and greatest and fastest 3.4Ghz 1Gb ram dual core system.....
And build it on every system in the team...
Including the bloke with the 100Mhz celeron & 256 MB ram.
Hmm.Try compiling a program for Windows Vista and then run it on MS-DOS, Windows 3.1 and WindowsME. What do you think would happen?
Hmm. One of the reasons for having a single "blessed" build of the compiler is it is one less variable to check & account for when the inevitable "Works for Joe, but Not For John" class of bugs arises.
Sigh! Why is this so hard?
Why have we taken a leap back into the dark ages where we cannot shareI have programs that I built on RedHat 7, that run fine on FC6 x86_64. Doing things the opposite way just does not work.
a user space program without either recompiling or having identical systems.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |