Get error trying to compile the kernel

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.
HJED
Member
Member
Posts: 61
Joined: Tue Sep 04, 2007 4:18 am
Location: the world wide web
Contact:

Post by HJED »

soz about the pm i thought i was probley a welcome message so i did not read it
i am following a tutorial which was apparently designed mainly for a different os that i have very little experience in also it refer to a program that i have chosen to use a alternatives so as to get it to work with a compiler that was suggested to use and also to avode large amounts of other programmes which i do not need being installed which is what cywin setup.exe tries to do i was previously told in other posts on other forums to include more info i simply include the out put so that if any 1 tried to help me it would be easier for them. i am sorry if u do not like my style of posting
Last edited by HJED on Mon Sep 10, 2007 4:29 am, edited 1 time in total.
.................................. um what should i put here .............................?..........................................
..... :D................
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:

Post by Combuster »

I rest my case.
"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
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Post by neon »

I personally do not have much expeirence with Linux (Although I have been thinking of switching...)

Nontheless, this is why I recommend MSVC++ 2005--Its specifically for Windows. The only thing extra thet you may need to do is load in the PE program and execute your kernel. (It does have a limitation of only being able to produce coff and pe exectables)

You can also use DJGPP--Its a GCC port for Windows, and supports more output options then MSVC++ (Such as Elf). It does not come with a nice IDE though.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

One, stop shouting.

Two, the GCC_Cross-Compiler how-to was written specifically for Windows users (using Cygwin). It merely happens to work just as well for Linux.

Three, of that >800 lines output, only the last ~15 lines are actually useful, which any halfway experienced developer would recognize. The info you did not include was the command line with which you got "past configure", i.e. we are not able to reproduce your problem without guessing and trial & error (making the whole output useless for helping you).

Four, did it occur to you that Cygwin is recommended for a reason, by people who are well aware of the alternatives (which are not simpler)?
i am sorry if u do not like my style of posting
Five, stop shouting.

Six, the tutorial is simple. In OS development, it is probably among the simplest document you will come across. Failing so utterly to follow such simple advice means that virtually everything you will come across later will give you even more trouble, resulting in many, many more posts to this board and others, people getting annoyed, you getting annoyed, and your great OS idea being swamped in everyday annoyance.

Trying MSVC will not change this. Try yourself at something simpler, some user-space tool or small application that allows you to build experience, both with the tools involved and with communication.
Every good solution is obvious once you've found it.
Meshounah
Member
Member
Posts: 38
Joined: Sun Jun 24, 2007 6:48 pm

Post by Meshounah »

if i remember correctly that error 2 is due to gcc not being compiled. As for the solution i think that you should check, check, check and check the terminal commands as that worked for me. :D
chik'n
Post Reply