From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1BPzWt-0000Ur-5R for user-mode-linux-devel@lists.sourceforge.net; Tue, 18 May 2004 01:00:51 -0700 Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.30) id 1BPzWs-00053P-Aq for user-mode-linux-devel@lists.sourceforge.net; Tue, 18 May 2004 01:00:50 -0700 Message-ID: <058d01c43caf$37167ae0$2000000a@schlepptopp> From: "roland" References: <40A9970F.9060201@netd.com> Subject: Re: [uml-devel] how to do programming in UML MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_058A_01C43CBF.F9DD3360" Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 18 May 2004 10:07:50 +0200 To: pronoy debnath Cc: user-mode-linux-devel@lists.sourceforge.net This is a multi-part message in MIME format. ------=_NextPart_000_058A_01C43CBF.F9DD3360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi! > The root_fs, I am using for uml, does not contain gcc. you can install gcc inside your uml! >Is it possible to compile a program using host machine's gcc and = libraries? you mean, you want to use the host machinse gcc and libraries inside = uml? (by hosfs mount or whatever?) no - i wouldn`t recommend that. you can compile your stuff outside your uml on the host itself and = transfer the binaries to the uml afterwards - you just need to make sure = that your host and your uml(root_fs) OS-version don`t differ too much - = otherwise you will get problems with library dependency (that`s just the = same issue as if you compile on a redhat 9 and transfer the binaries to = a suse 6.4 :) >If yes, how can I do it? just as usual? configurer make make install..... regards roland ----- Original Message -----=20 From: pronoy debnath=20 Cc: user-mode-linux-devel@lists.sourceforge.net=20 Sent: Tuesday, May 18, 2004 6:54 AM Subject: [uml-devel] how to do programming in UML Hi, The root_fs, I am using for uml, does not contain gcc. =20 Is it possible to compile a program using host machine's gcc and = libraries? If yes, how can I do it? Thanks, Pronoy Henrik Nordstrom wrote: On Mon, 17 May 2004, Joe Marzot wrote: A little more data on this one - the behaviour I see with these mounts = is that mount -t hostfs none /mnt/mybob -o /view/myview/vob/myvob succeeds but mounts the hosts / dir instead of the desired view extended = pathname of the ClearCase vob. =20 This is a known bug in 2.4.24-2. A patch can be found in the archives or = from http://marasystems.com/download/uml/ If you need hostfs then you should probably stick to 2.4.24-1 for the = time being. Jeff is doing some heavy restructuring of the uml host file = access methods while adding the humfs and as a result of this the hostfs = support has become very unstable while the combined supporting framework for = humfs and hostfs is taking shape. Hopefully this will soon result in a much=20 better hostfs than before, but at the moment things is a bit shaky.. Regards Henrik ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ------=_NextPart_000_058A_01C43CBF.F9DD3360 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi!
>    The root_fs, I am using = for uml,=20 does not contain gcc.
you can install gcc inside your = uml!
>Is it possible to compile a program using = host=20 machine's gcc and libraries?
you mean, you want to use the host machinse gcc = and=20 libraries inside uml? (by hosfs mount or whatever?)
no - i wouldn`t recommend that.
you can = compile your=20 stuff outside your uml on the host itself and transfer the binaries to = the uml=20 afterwards - you just need to make sure that your host and your=20 uml(root_fs) OS-version don`t differ too much - otherwise you will get = problems=20 with library dependency (that`s just the same issue as if you compile on = a=20 redhat 9 and transfer the binaries to a suse 6.4 :)
 
>If yes, how can I do it?
just as usual?
configurer
make
make install.....
 
regards
roland
 
 
----- Original Message -----
From:=20 pronoy = debnath=20
Cc: user-mode-lin= ux-devel@lists.sourceforge.net=20
Sent: Tuesday, May 18, 2004 = 6:54 AM
Subject: [uml-devel] how to do=20 programming in UML


Hi,
    The root_fs, I am using = for uml,=20 does not contain gcc.
    =
     Is it=20 possible to compile a program using host machine's gcc and=20 libraries?
     If yes, how can I do=20 it?

Thanks,
Pronoy


Henrik Nordstrom wrote:
On Mon, 17 May 2004, Joe Marzot wrote:

  
A little more data on this =
one - the behaviour I see with these mounts=20
is that

mount -t hostfs none /mnt/mybob -o /view/myview/vob/myvob

succeeds but mounts the hosts / dir instead of the desired view extended =

pathname of the ClearCase vob.
    

This is a known bug in 2.4.24-2. A patch can be found in the archives or =

from http://marasystems.com/down=
load/uml/

If you need hostfs then you should probably stick to 2.4.24-1 for the =
time
being. Jeff is doing some heavy restructuring of the uml host file =
access
methods while adding the humfs and as a result of this the hostfs =
support
has become very unstable while the combined supporting framework for =
humfs
and hostfs is taking shape. Hopefully this will soon result in a much=20
better hostfs than before, but at the moment things is a bit shaky..

Regards
Henrik



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=3D2562&alloc_id=3D6184&op=3Dclick=

_______________________________________________
User-mode-linux-devel mailing list
User-mode-lin=
ux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel=

  
------=_NextPart_000_058A_01C43CBF.F9DD3360-- ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel