You're lucky (and so am I), take them from here (as and ld only).I'm on x86 system runing XP, 233MHz
Pre-compiled cross compiling binutils?
Re: Pre-compiled cross compiling binutils?
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Pre-compiled cross compiling binutils?
I guess that's the main problem - your computer seems pretty outdated, and you're running WinXP on this outdated machine. How much RAM do you have? It seems you are just running out of resources when compiling a cross compiler.DavidBG wrote:I'm on x86 system runing XP, 233MHz.
I would suggest using a more powerful machine for compilation - and replacing this overloades WinXP with some small Linux distribution...
And of course you are right - the "damn" tutorial in the "damn" wiki doesn't give any information on how much resources it needs to build a cross compiler, and it doesn't tell you what to do if compilation just stops without any errors. Unfortunately many people in this forum still believe that the wiki is a holy book that tells you everything you need to know for OS development.
- 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: Pre-compiled cross compiling binutils?
There's no plain elf target in there, only hosted crosscompilers - A bad recommendation.leledumbo wrote:You're lucky (and so am I), take them from here (as and ld only).
Running XP on a bottom-end pentium 2 or worse is asking for trouble - it's well below the recommendation (at 300 MHz). You should downgrade to 2K (P1-133 or better) or even '98 (which has the additional advantage of allowing you to poke hardware from a hosted environment)I'm on x86 system runing XP, 233MHz.
Unfortunately many people are too ignorant to browse it and ask the stupid questions over and over. If given the choice, there's a 90% chance the problem exists between the keyboard and the chair, and 10% it's in the wiki. Also, the conditional probability that the wiki is at fault given that the person ignores forum rules is below 1%, which is exactly what happened - It is fair to assume the wiki to be correct until proven otherwise. And the proof in question, is still completely without evidence. As long as the OP doesn't go beyond the statements that basically summarize to "it just doesn't work", the attitude (spoken, in part or not) that the OP is an idiot because he can't or refuses to back up his claims is only logical.Unfortunately many people in this forum still believe that the wiki is a holy book that tells you everything you need to know for OS development.
Extraordinary claims require extraordinary proof. Show us.
Re: Pre-compiled cross compiling binutils?
i386-linux-ld produces plain ELF, I used it for my OS.There's no plain elf target in there, only hosted crosscompilers - A bad recommendation.
Re: Pre-compiled cross compiling binutils?
...which is because it is a generic tutorial, resources required vary wildly depending on versions involved, and any halfway modern machine (as in, this millenium) should be adequate for the task.XenOS wrote:And of course you are right - the "damn" tutorial in the "damn" wiki doesn't give any information on how much resources it needs to build a cross compiler...
If compilation stops without errors, it's complete. If completion is not complete, you will get an error message....and it doesn't tell you what to do if compilation just stops without any errors.
Every good solution is obvious once you've found it.
Re: Pre-compiled cross compiling binutils?
Which do you like, I can understand some Spanish, if you prefer. Is a different language your native one?piranha wrote:Honestly, english is a worse enough language without taking words out of it.
Thank you. That pretty much was all I needed. I don't know why I couldn't find that.leledumbo wrote:You're lucky (and so am I), take them from here (as and ld only).I'm on x86 system runing XP, 233MHz
I have 64 megabytes of RAM. A lot of it taken by system and other processes.XenOS wrote:I guess that's the main problem - your computer seems pretty outdated, and you're running WinXP on this outdated machine. How much RAM do you have? It seems you are just running out of resources when compiling a cross compiler.DavidBG wrote:I'm on x86 system runing XP, 233MHz.
I would suggest using a more powerful machine for compilation - and replacing this overloades WinXP with some small Linux distribution...
I tried feather linux and hated it. But I think that was because it booted from a CD not the hard-drive. And yes, a 233MHz is the minimum system XP will run on, but I do not have 98 anymore, I'll see if I can find a different small Linux distro, though the only one I really like is Linux Mint, and that may be too big.
Anyway, I have a 1.6 GHz, but I need to use the 233 at the moment on Windows; however I may check out Linux later.
I think it hangs, but I'm not sure.Solar wrote: If compilation stops without errors, it's complete. If completion is not complete, you will get an error message.
Thanks for all recommendations, etc., especially to leledumbo for the link.
David
President of the Useless OS project
Re: Pre-compiled cross compiling binutils?
I missed this. I really can't give you any proof unless you'd like to see my computer in action. As to my being an i----, well, I don't believe so, but of course, I can't prove that to you or anybody.Combuster wrote:As long as the OP doesn't go beyond the statements that basically summarize to "it just doesn't work", the attitude (spoken, in part or not) that the OP is an idiot because he can't or refuses to back up his claims is only logical.
Extraordinary claims require extraordinary proof. Show us.
David
President of the Useless OS project
-
- 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: Pre-compiled cross compiling binutils?
Just because it can produce a plain ELF doesn't mean it's a good idea to use it. Right now you probably can't see the problems you'll run into in the future with a hosted cross-compiler, but a lot of us have been there and done that already. Having a pure compiler without any OS-specific host (eg, i585-elf) is just plain easier in the long runleledumbo wrote:i386-linux-ld produces plain ELF, I used it for my OS.There's no plain elf target in there, only hosted crosscompilers - A bad recommendation.
Re: Pre-compiled cross compiling binutils?
Evening chum!
Reading this thread, I do wonder why you're trying to build your OS on that particular machine. If you've got 8, why not build and develop your OS on a computer more suited to the task, then transfer the binary over (via a network, or serial at worst)?
I cannot EVER imagine ANYONE being truly offended by the word "damn", and if you do, you ARE an idiot, and should please:
Oh, and learn to use apostrophe's. They don't need to be used whenever you use plural's. They are used for ownership of thing's (possession) or truncation's / abbreviation's.
James
Reading this thread, I do wonder why you're trying to build your OS on that particular machine. If you've got 8, why not build and develop your OS on a computer more suited to the task, then transfer the binary over (via a network, or serial at worst)?
Next time I come to your home, I'll tell you what to say, what language to speak, what etiquette to use at the dinner table. How does that sound?DavidBG wrote:I really think you should watch your language. Using word's like that are...piranha wrote:Please, for my sake, read the damn wiki, follow the damn instructions, compile the damn compiler on your windows/mac/linux/bsd/etc, w/e.
I cannot EVER imagine ANYONE being truly offended by the word "damn", and if you do, you ARE an idiot, and should please:
No problems.Anyway, thanks all for the input, criticisms, etc.
David
Oh, and learn to use apostrophe's. They don't need to be used whenever you use plural's. They are used for ownership of thing's (possession) or truncation's / abbreviation's.
James
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Pre-compiled cross compiling binutils?
Read my post again. I never claimed the wiki is incorrect. In fact the wiki is a very helpful resource and it contains a lot of helpful information for OS developers. But that doesn't mean that it answers every question that might occur. The answer to the OP's question was not in the wiki, simpy because the wiki doesn't contain any information of the hardware resources that are needed to build a cross compiler. This proves that there are questions that are not answered by the wiki, which is all I claimed.Combuster wrote:Unfortunately many people are too ignorant to browse it and ask the stupid questions over and over. If given the choice, there's a 90% chance the problem exists between the keyboard and the chair, and 10% it's in the wiki. Also, the conditional probability that the wiki is at fault given that the person ignores forum rules is below 1%, which is exactly what happened - It is fair to assume the wiki to be correct until proven otherwise. And the proof in question, is still completely without evidence. As long as the OP doesn't go beyond the statements that basically summarize to "it just doesn't work", the attitude (spoken, in part or not) that the OP is an idiot because he can't or refuses to back up his claims is only logical.
Extraordinary claims require extraordinary proof. Show us.
And it is anything but helpful to insult the OP or to post a link to the wiki which the OP has already read without finding the answer. If you still think that there is any helpful information on this problem in the wiki, just prove it.
Yes, this is exactly what I meant to say. A generic tutorial covers all the standard problems and question that occur frequently. But there are many odd problems out there that are not covered by a generic tutorial, so they can not be answered by just pointing to the wiki.Solar wrote:...which is because it is a generic tutorial, resources required vary wildly depending on versions involved, and any halfway modern machine (as in, this millenium) should be adequate for the task.
I wouldn't agree with that. Of course there are cases in which a program simply crashes without an error message, simply because it runs out of memory or whatever resource and hangs before it can print any kind of message. I have seen this many times, and it is very likely to happen with the OP's compiler. So the description "It just stops without any error message." is perfectly fine, as this is exactly what happens.If compilation stops without errors, it's complete. If completion is not complete, you will get an error message.
That's definitely not enough for this task, and probably a cross compiler will also fail if you try to run it on this machine with WinXP. If you really don't have any alternative to this machine, the only way to use it is to install a different, "lightweight" OS. BTW, I think I still have some GCC / Binutils / GDB on my computer, compiled for CygWin host and either i686-pc-elf or x86_64-pc-elf targets. Each of them is about 200MB, and I doubt that they will work on your machine, but in I could upload them if you are really willing to try.DavidBG wrote:I have 64 megabytes of RAM. A lot of it taken by system and other processes.
Re: Pre-compiled cross compiling binutils?
Totally agree with XenOs, particulary with the first part of his reply.
Nervous reply seems not to take in account the real message
Nervous reply seems not to take in account the real message
[ Grub 2 | Visual Studio 2013 | PE File ]
The OsDev E.T.
Don't send OsDev MIB !
The OsDev E.T.
Don't send OsDev MIB !
Re: Pre-compiled cross compiling binutils?
This computer is a laptop; the only laptop I have. (Actually I have a 32MB RAM 200MHz laptop, but that's even worse; the others are desktops.) I wanted to be able to compile on the go.JamesM wrote:Reading this thread, I do wonder why you're trying to build your OS on that particular machine. If you've got 8, why not build and develop your OS on a computer more suited to the task, then transfer the binary over (via a network, or serial at worst)?
You would probably be wrong half the time...JamesM wrote:Next time I come to your home, I'll tell you what to say, what language to speak, what etiquette to use at the dinner table. How does that sound?
I suppose, I'm not honestly offended, (I don't think I ever am, I don't exaclty boil over ever time someone says that or calls me an i----) I just don't like it when people use those words while talking to me. Of course, I can't tell any of you what to do or say; I suppose I can look over it.JamesM wrote:I cannot EVER imagine ANYONE being truly offended by the word "damn", and if you do, you ARE an idiot, and should please:
What does all that mean?JamesM wrote:No problems.Anyway, thanks all for the input, criticisms, etc.
David
Oh, and learn to use apostrophe's. They don't need to be used whenever you use plural's. They are used for ownership of thing's (possession) or truncation's / abbreviation's.
No, the wiki is great, many a problem I have solved by reading; and I want to thank you all for creating such a helpful resource. (Best on the web) I don't want to come across sounding like I don't appreciate all the work that went into that.XenOS wrote:If you still think that there is any helpful information on this problem in the wiki, just prove it.
Perhaps, we could add something in the troubleshooting section about reported problems on computers with less than say 128MB RAM on XP so people won't ask again? I don't think anyone will, though, as most people probably don't have an old computer like this with XP on it.
Well, I might as well face it. You are probably right about is not working. Even if you gave me those, I may not have the resources to use them. I'll have to see if I can downgrade to a lighter OS, I just need it be Windows compatible and that will be hard if not impossible, I just wish I could find a 98 CD. I think I have an upgrade 98 CD but no Windows 95.XenOS wrote:BTW, I think I still have some GCC / Binutils / GDB on my computer, compiled for CygWin host and either i686-pc-elf or x86_64-pc-elf targets. Each of them is about 200MB, and I doubt that they will work on your machine, but in I could upload them if you are really willing to try.
Thanks
David
President of the Useless OS project
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: Pre-compiled cross compiling binutils?
Ok, I assume that you are new to the internet, or at least, new to forums because you are taking everything we say literally.
Almost all the posts in this thread have been said with a slight amount of sarcasm (or in JamesM's case, a lot).
Essentially, we suggest that you read the Wiki SEVERAL times, following the instructions to the letter, and if there is an error that you cannot fix, that you post the entire output so we can point out where you should look.
If you cannot do that correctly, you lack the Required Knowlege stated in the forum rules and should do some more reading until you do.
Mods: Could I request a lock?
Almost all the posts in this thread have been said with a slight amount of sarcasm (or in JamesM's case, a lot).
Essentially, we suggest that you read the Wiki SEVERAL times, following the instructions to the letter, and if there is an error that you cannot fix, that you post the entire output so we can point out where you should look.
If you cannot do that correctly, you lack the Required Knowlege stated in the forum rules and should do some more reading until you do.
Mods: Could I request a lock?
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc