Hi,

I am trying to build and run some of my C programs in UML.  One way I tried
is to build (i.e. compile) the program on the host,  then run it in UML.
 The problem is that the UML rootfs I used lacks many of the /usr/lib/
shared libraries, hence the program failed to run.

My question is:  what is the best practice to build and run C programs for
UML?  Do people normally compile the program on the host and then run it in
UML?   Or  compile the program directly in UML and then run it?

If folks compile the C programs in UML directly,  where the "gcc" comes
from?  Is it built part of the rootfs,  or some add-ons?  Any pointers for
that?

(meantime, I am trying to load a rootfs that has gcc but had issues with
that.... )

Thanks.
Han
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to