From: John Beck (john@johnbeck.org)
Date: Sun Jun 15 2003 - 00:25:59 CEST
"I have a form of RedHat 4.2 living in a single big file, the so-called linux
loopfilesystem: /m/loop/rh42 (600 Mb)"
Does this "file" have to be from the same machine you are currently
working on? Or can I install RedHat 4.2 on a different computer then
make an image of it and move it to other machines for compiling software
for muLinux?
-------- Original Message --------
Subject: Re: [Mu] Tutorials on porting applications to muLinux
Date: Mon, 9 Jun 2003 23:11:43 +0200
From: Michele Andreoli <m.andreoli@tin.it>
Reply-To: mulinux-forum@lists.sourceforge.net
Organization: Rustic Software Foundation
To: mulinux-forum@lists.sourceforge.net
References:
<Pine.BSO.4.44.0306091559070.16448-100000@forcefield.unixsamurai.com>
On Mon, Jun 09, 2003 at 04:02:01PM -0400, john@johnbeck.org nicely wrote:
> Does anyone have a good tutorial that tells how to port applications over
> to muLinux (or other OS) from another linux or bsd?
This tutorial doesn't exists, because impossible to write.
There is a tutorial that tells how to port a WinXP program over Win 3.11
for Workgroup?
Even having a complete libc5 linux development machine, like a RedHat 4.2
or Debian 1.3, this is a tremendous task.
I have a form of RedHat 4.2 living in a single big file, the so-called linux
loopfilesystem: /m/loop/rh42 (600 Mb)
When I wish to compile something for libc5, I mount this file in this way:
# mount -o loop /m/loop/rh42 /mnt
After that, I chroot in it:
# chroot /mnt
A this point, I have a sort of login in the RH4.2 with a unix shell: I can
have now the old "gcc", the old "make", and the rest useful for me.
If I'm lucky, the program compile well but usually I have problems,
because the code uses some new C-lib feature etc.
In this case, I have to hack the code, usually removing parts or
trasliterating some symbol name.
Michele
-- Living on Earth may be expensive, but it includes an annual free trip around the Sun. [Anonymous] ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Mulinux-forum mailing list Mulinux-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mulinux-forum ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Mulinux-forum mailing list Mulinux-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mulinux-forum
This archive was generated by hypermail 2.1.6 : Sun Jun 15 2003 - 09:19:56 CEST