[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'



Please don't top-post.

On Thu, Apr 16, 2015 at 07:39:57PM +1000, Andrew Stuart wrote:
> Hi Wei
> 
> Thanks for your reply.  Forgive me but Iâm new to this. What do you
> mean by 'just build stubdom the "usual way", and then extract the
> resulting files you need.â  What is the usual way and which are the
> files I need?
> 

Oops, sorry I was vague.

What I normally do is to stay in top level directory of the source tree,
run ./configure and then run make -- stubdom should be built by default.
But the C stubdom is not built by default. :-/

So in order to build c-stubdom, you need to enter stubdom directory and
run ./configure --enable-c-stubdom. You should see in the output
c-stubdom will be built.

> Actually maybe I could ask you also a more specific question. I have a
> C application that I wish to run under minios. It is an embedded web
> server. Iâm finding it chalenging to work out where to start to get it
> compiled as a minios domain.  Can I ask for some general guidance
> please an how to approach this task?  Iâm struggling a bit right now
> to work out how to pull the C application into minios.
> 

Stubdom is mini-os + libc + all other libraries your application needs.
Yes, it's going to be an exercise. You need to wire up stubdom's
Makefile. There are existing examples in stubdom. You can try your luck.

Another way to achieve your goal is to try "rump kernel". It's still
under development but the build system is a bit nicer to work with than
our in-tree stubdom build system IMHO.

Both solutions will require some work. I can't tell for sure how much
work is required.

> And yes I have now download unstable.
> 

One thing to note is that mini-os has been extracted to an external tree
in xen-unstable. The build system will clone it on the fly. It's
supposed to work out-of-box but in case you have problem you at least
have a clue about what is going on.

> Sorry to be asking questions about things that are probably obvious
> but Iâve spend alot of hours on this and Iâm getting an understanding
> I think but still a bit lost.
> 

No they are not general obvious. No need to be sorry.

Wei.

> thanks
> 
> Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.