Page 1 of 1
Bochs SMP
Posted: Mon Mar 15, 2010 8:30 am
by johnsa
Hey all,
Does anyone have a pre-compiled Bochs with SMP support for Windows?
I downloaded the entire src, VSS solution etc and spent many hours trying to get it to compile with no luck.
Thanks!
John
Re: Bochs SMP
Posted: Mon Mar 15, 2010 9:15 am
by Combuster
Like any portable tool: Cygwin, Configure, Make, Make install. Done.
Or like any other sourceforge project:
http://sourceforge.net/projects/bochs/f ... p/download
Please do try harder next time.
Re: Bochs SMP
Posted: Mon Mar 15, 2010 9:32 am
by quanganht
Read the manual carefully, configuring and compiling section
Re: Bochs SMP
Posted: Mon Mar 15, 2010 1:48 pm
by johnsa
Sorry I was specific enough. I have the p4 smp binary, the problem with that pre-compiled version is that it doesn't support 64bit execution. I was just wondering if someone had already compiled a 64bit capable/smp version.
I've been fighting with getting it to compile for ages.. the VSS solution stops compiling at over 2000 errors, thats after fixing up paths etc. I could install cygwin and nmake... but if someone already had a compile it would save me effort.
Re: Bochs SMP
Posted: Mon Mar 15, 2010 6:43 pm
by inx
johnsa wrote:I could install cygwin and nmake... but if someone already had a compile it would save me effort.
So.. You could go through the effort, but you'd rather if someone else would? Setting up Cygwin is not difficult, and if you're
not able to handle that amount of effort, why would you bother with the effort of getting anything in kernelspace working?
Unless you're paying for support, it's generally better to ask for information than favors.
Re: Bochs SMP
Posted: Mon Mar 15, 2010 6:49 pm
by osdnlo
Here is typically when you begin the barter system. Do you have <this>, no. How about <that>, no. THEN NO SOUP FOR YOU!
Re: Bochs SMP
Posted: Mon Mar 15, 2010 9:01 pm
by Firestryke31
He's not asking if someone will spend their effort, he's asking if someone already did. If someone already has a copy that does what he wants, and it requires very minimal effort from both parties to obtain it (just zip it up and email/put it on some server), then why spend all of the effort to install a system he'll maybe use once or twice, go through and compile it, and make sure it works right (hoping he got it right the first time)?
So, to reiterate the question the OP asked:
Does someone already have a version of Bochs for Windows that has 64bit+SMP support?
If so, why not share your work so others don't have to go through the same pains you did?
Re: Bochs SMP
Posted: Mon Mar 15, 2010 11:53 pm
by inx
Firestryke31 wrote:He's not asking if someone will spend their effort, he's asking if someone already did.
That's a good point, but I was trying (indelicately) to avoid the situation that's going to happen in which, a few
modules down the road, he needs another feature and comes back for another build, and so on. NE2k? Request.
RTL8139? Request. Then onto other software packages. Cross-compiler? Request. etc
Sorry, just tired of pollution.
Re: Bochs SMP
Posted: Tue Mar 16, 2010 5:05 am
by osdnlo
If so, why not share your work so others don't have to go through the same pains you did?
Because, pain is all part of the learning process and there is no royal road to OSDEV.
Re: Bochs SMP
Posted: Tue Mar 16, 2010 6:29 am
by johnsa
I managed to get a different (smaller) install of vs2008 setup and eventually got the bochs project building correctly through it. It didn't seem to like all the vs2008 features i use for work.
Firestryke thanks for re-iterating the point. I thought it was a fairly clear and simple request.
To be honest i don't see how these things are related..
firstly, I have no desire or intention of asking people to write my code for me... the whole point is that its a hobby and I enjoy doing it.
secondly, I have already written the basis for a lot of my kernel, smp, numa support, locking facilities and am currently starting on ohci/uhci/ehci support... so don't take it personally, but i really don't need anyone elses code.. especially for an ne2k driver.. or support for it or cross-compilation... as this all starts to sound very linuxy to me and is not what i'm trying to do with my project. besides which bochs already has built in ne2k support in the versions i have...
Some of what i'm trying to do here (apart from building my own system startup code) was to assist in getting a system-configuration tutorial up that includes as much detail pre-kernel as possible, including smbios/mp tables/acpi.. use to parse these tables, madt, pci express etc.. and trampolining multiple cores with micro-code updater etc.. so as part of that I would have considered any assistance from others on this forum a sign of good faith, but also in keeping with the spirit of what hobby os development is about as well as freedom of information. These kinds of sarcastic childish retorts that seem to keep flying around on here make some no better than the large corporates they detest for their monopolizing over-commercial clandestine manner.
thirdly asking if someone has a ready-built copy of a development tool is in no way related to the code or work that will be done/written with it. Imagine if everyone who asked MS if they could buy Visual Studio got told not to be lazy and compile it themselves??
fourthly pain is part of the learning process, needless an unnecessary pain is something completely different. I hate cygwin and wouldn't install it if it was the last thing on earth. I have no desire to use it or understand it's quirks, much like nmake which is filthy. (this is my personal opinion and I am entitled to it). If this was our reasoning for all things, then you would be a hypocrite if you attempt to use ANYTHING that has already been done before for you, like locking algorithms, slab allocator, elf file format.. etc.. you better come up with totally new standards all by yourself so you can truly embrace the pain of the sheer amount of work involved.
fifthly ... why is it that every-time i use this forum, there are a handful of people who are legitimately helpful and offer wisdom and experience and the rest seem to have some sort of pent-up-anger at the world (perhaps due to social rejection) and feel the need to come to a highly-technical and specific forum and vent? More oft than not these same people have very little to show for all their incredible wisdom and experience that they refuse to share.. I suspect it to be some sort of ruse?
Re: Bochs SMP
Posted: Tue Mar 16, 2010 6:38 am
by xenos
I already spent the effort some time ago and compiled a whole bunch of bochs binaries. Here you go:
Re: Bochs SMP
Posted: Tue Mar 16, 2010 6:58 am
by qw
Hi John,
We're getting off-topic, but I sympathize with your last post. Some people are too eager to keep the noobs of our backs. The intent may be reasonable, but the efforts are not. You are obviously not a noob.
Maybe a good forum rule would be: if someone asks a non-smart question, then simply don't respond.
BTW This is the only forum I know that requires its posts to be smart.
Roel
Re: Bochs SMP
Posted: Tue Mar 16, 2010 9:16 am
by osdnlo
johnsa wrote:fifthly ... why is it that every-time i use this forum, there are a handful of people who are legitimately helpful and offer wisdom and experience and the rest seem to have some sort of pent-up-anger at the world (perhaps due to social rejection) and feel the need to come to a highly-technical and specific forum and vent?
It wasn't like you asked for directions or guidance. You asked for the finish product, so I just told you to trade for it rather than expect handouts. Even if the other person doesn't want what you have, you should at least offer something for good measure.
johnsa wrote:More oft than not these same people have very little to show for all their incredible wisdom and experience that they refuse to share.. I suspect it to be some sort of ruse?
Not everyone here is a hobbyist. Not everyone's code is open source. Your statistics are implied and highly refutable and on top of it all, you're paranoid. No ruse, just how it goes sometimes. Nothing personal, I assure you.