As you said, it is difficult to distribute generic Linux binaries because of
different libraries and library versions on every Linux distribution.
Therefore I recommended the chroot environment. This could include a version
of glibc as well, so we don't depend on the glibc version of the Linux
distribution.
Then we can also use the standard commands (e.g. "make") for building
ReactOS and don't need to rename the utilities. Another advantage would be
that we can distribute a complete build environment like RosBE for Windows.
We could also create statically linked versions of gcc, binutils, nasm and
all the other needed utilities.
But these versions can get quite large and we would need to rename them, so
they don't conflict with the utilities of the Linux distribution.
Regards,
Colin
-----Original Message-----
From: ros-general-bounces(a)reactos.org
[mailto:ros-general-bounces@reactos.org] On Behalf Of Nate DeSimone
Sent: Friday, January 12, 2007 7:21 AM
To: ReactOS General List
Subject: Re: [ros-general] Important News and Updates
Well you don't need to do something as drastic as chroot, you
could just
name the cross compiler binaries something different, and
make sure to
set your path so the make scripts can find them (which is how
the Linux
build environment is actually set up) it is much harder to distribute
generic Linux binaries than windows ones, because of various binary
incompatibility issues, for example incompatible versions of
glibc can
cause headaches, as well as many other libraries.
Colin Finck wrote:
Maybe someone could create something similar to
RosBE for Linux.
I remember that the LFS project (Linux From Scratch) first builds a
temporary system. This system only contains compiler tools
in the rightc
version.
When this temporary system was finished, you could easily
switch to it with
the command "chroot" and use these
compiler tools.
This works on every Linux distribution.
You can read more about it in the LFS manual:
http://www.linuxfromscratch.org/lfs/view/6.1.1/ (chapter 5)
It would be nice if someone could create such a build
environment for Linux,
which works with every distribution and just
needs a
"chroot" command to be
started.
Otherwise I could try it as well, when I have more time.
Regards,
Colin
_______________________________________________
Ros-general mailing list
Ros-general(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-general