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 -----
From: pronoy debnath
Cc: user-mode-linux-devel@lists.sourceforge.net
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.
   
     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.
    

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 
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=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