I was going to write a 64-bit os...but
- prinzrainer
- Posts: 13
- Joined: Sun Nov 22, 2009 11:36 pm
I was going to write a 64-bit os...but
I was going to write a 64-bit os...but i can't find a gcc(that compiles 64 bit code..) that runs on windows...so i stick to 32 bit OS dev..btw does anyone has already compiled gcc(that compiles 64 bit code and it binutils) for windows?? i might go on to 64-bit development...
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: I was going to write a 64-bit os...but
Create a cross-compiler in Cygwin that targets your 64-bit target. It can be done on a 32-bit-only system - the target for your compiler is only for output generation.
Re: I was going to write a 64-bit os...but
Hi,
I've decided to take the unprecedented step of pasting in a post report, as I think it summarises exactly my sentiments.
I've decided to take the unprecedented step of pasting in a post report, as I think it summarises exactly my sentiments.
JamesReported post wrote:I propose that posts like this just result in a warning. There's more than enough information in the Wiki about cross compiling, targeting, and everything, even for cygwin. The information is coherent, and easy to understand. It is all right there if you just search for "cross compiler". All the results just cascade right there in the search results page in the Wiki. Whatever you don't understand can EASILY be augmented with extra reading using google. If the OP had in any way tried to browse the forum looking for threads that had anything to do with the keyword "compiler", "target" or anything, even if he didn't know anything about the concept of a "cross compiler", since his problem is related to compilers, he would have met at least ONE (more like ten or twenty) topic with a compiler question which would have, within the first 5 posts, mentioned "cross compilers". From there, the natural thing is "What is a cross compiler, and why is everyone recommending it?". It is OBVIOUS that this person didn't look anywhere. Talk less of reading externally. This person obviously wants to be spoon-fed and waste everyone's time.
Re: I was going to write a 64-bit os...but
I have to agree. Cross-compilation is hardly unique to OS development and is actually a pretty basic topic (with masses of references all over the WWW, not to mention many textbooks). The Wiki is excellent on precisely how to set one up for our purposes, too.
Re: I was going to write a 64-bit os...but
Kind of funny though that James' rant exactly answers the OP's question.
Re: I was going to write a 64-bit os...but
It was copy-pasted from a post report I received, from Gravaera. He deserves the credit!Hobbes wrote:Kind of funny though that James' rant exactly answers the OP's question.
Re: I was going to write a 64-bit os...but
Ah, okay, didn't get that. Kudos to Gravaera for simultaneously reporting and answering the question.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: I was going to write a 64-bit os...but
*cough*JamesM wrote:I've decided to take the unprecedented step of pasting in a post report
Re: I was going to write a 64-bit os...but
That is bad!JamesM wrote:It was copy-pasted from a post report I received, from Gravaera. He deserves the credit!Hobbes wrote:Kind of funny though that James' rant exactly answers the OP's question.
You should not make public PMs nor the people who are writing them.
I dont know what others thinks, but after reading this, my opinion about Gravaera changed a lot.
Re: I was going to write a 64-bit os...but
I do not have an opinion about Gravaera but I do know that many forum members are annoyed by questions that could easily have been answered by a simple search. Rants about this usually do not contain an answer, Gravaera's does. Makes me wonder why he didn't post it here. I've seen worse. Anyway, if Gravaera objects, I'm sure there is a solution.
Just my two cents.
Just my two cents.
Re: I was going to write a 64-bit os...but
At the risk of sounding awfully elitist... this is not a forum for people who are doing their high-school homework or those too lazy / inexperienced to know how to use search tools, download documentation, etc.
When the very first question posted is something along the lines of "I want to write my new LeetOS but I'm not sure how to set up my compiler on Windows..." I have to seriously consider that they're simply not up to the task, at least not yet.
When the very first question posted is something along the lines of "I want to write my new LeetOS but I'm not sure how to set up my compiler on Windows..." I have to seriously consider that they're simply not up to the task, at least not yet.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: I was going to write a 64-bit os...but I got hijacked
OS development is in the top 3 of most difficult programming tasks. Of course there is the inevitable elite involved here (without numbers, mind you! )
...the thread got hijacked. Lets move it to general ramblings.Post Subject: I was going to write a 64-bit os...but
Re: I was going to write a 64-bit os...but
You'll note that initially I didn't mention who made the report. I decided to disclose it after being asked later - mainly because I talk to Gravaera on IRC rather a lot and consider that he wouldn't mind.AmA wrote:That is bad!JamesM wrote:It was copy-pasted from a post report I received, from Gravaera. He deserves the credit!Hobbes wrote:Kind of funny though that James' rant exactly answers the OP's question.
You should not make public PMs nor the people who are writing them.
I dont know what others thinks, but after reading this, my opinion about Gravaera changed a lot.
Also, good catch Combuster!