Cannot Compile

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
EgeO
Posts: 9
Joined: Wed Jul 23, 2014 2:03 am

Cannot Compile

Post by EgeO »

Hello, I was curious about compiling a kernel. But I didn't have any idea about Assesmbly language. Yesterday I saw they were coded already on the wiki then I decided to try it out. However it seems I can't even pass first stage. I don't know how to compile gcc for cross-platform. I'm using Arch Linux, I already have GCC installed on my system but I can't find commands given in bare bones page. Thanks All !
User avatar
Combuster
Member
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: Cannot Compile

Post by Combuster »

I don't know how to compile gcc for cross-platform.
There's a link, or rather, four of them on that page. Click it :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
iansjack
Member
Member
Posts: 4709
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Cannot Compile

Post by iansjack »

Hello, I was curious about compiling a kernel. But I didn't have any idea about Assesmbly language.
I think we have to be realistic here. If you have no idea about assembly language then you are bound for disappointment. I would advise that you correct that first; learn how to write simple assembler programs and read and try and understand the basics of the x86 architecture from the Intel Programmer's Manuals. Until you do that I see little point in trying to write and compile a kernel, even a simple one.
EgeO
Posts: 9
Joined: Wed Jul 23, 2014 2:03 am

Re: Cannot Compile

Post by EgeO »

Okay thanks anyways. I'll try to learn it a bit.
Post Reply