HELP HELP HELP How to compile a program in my new OS??
HELP HELP HELP How to compile a program in my new OS??
I think this is a wierd topic....
What should I have to do to have a program "compiled" on my system????
What should I have to do to have a program "compiled" on my system????
[a:t:m]
WHILE WALKING THROUGH A STORM,WALK WITH YOUR HEADS RIGHT UP,THEN YOU WILL NEVER WALK ALONE
WHILE WALKING THROUGH A STORM,WALK WITH YOUR HEADS RIGHT UP,THEN YOU WILL NEVER WALK ALONE
1) Don't post in "design & theory", but the "OS Development" thread.
2) Focus on asking a smart question, not a colorful one. (Besides, I hate cyan.)
3) You ask what you need to have a program compiled on your system. Let me make sure I got the question right:
3a) "How do I compile a program?" - If you have to ask that, try a generic programming tutorial instead of anything OS-related.
3b) "How do I compile a program for my OS?" - You need a working kernel including executable loader, library, and runtime environment for userspace code, and a cross-compiler (which you most likely have used already to compile your kernel). Simply compile the program with the OS-specific stuff ("freestanding", "no-stdlib" etc. etc.) taken out, and link it with your OS' runtime.
3c) "How do I compile a program on my OS?" - You need to compile your compiler into an executable for your OS as described in 3b).
Excuse me if the answers are a bit generic. Ask a better question to get a better answer.
2) Focus on asking a smart question, not a colorful one. (Besides, I hate cyan.)
3) You ask what you need to have a program compiled on your system. Let me make sure I got the question right:
3a) "How do I compile a program?" - If you have to ask that, try a generic programming tutorial instead of anything OS-related.
3b) "How do I compile a program for my OS?" - You need a working kernel including executable loader, library, and runtime environment for userspace code, and a cross-compiler (which you most likely have used already to compile your kernel). Simply compile the program with the OS-specific stuff ("freestanding", "no-stdlib" etc. etc.) taken out, and link it with your OS' runtime.
3c) "How do I compile a program on my OS?" - You need to compile your compiler into an executable for your OS as described in 3b).
Excuse me if the answers are a bit generic. Ask a better question to get a better answer.
Every good solution is obvious once you've found it.
thnx a lot
Sorry being weak in my communication skills....
"""3c) "How do I compile a program on my OS?" - You need to compile your compiler into an executable for your OS as described in 3b). """
this is what I asked for thnx a lot.It is as I expected.
Also one thing,u r a genius. U understood what I meant.
"""3c) "How do I compile a program on my OS?" - You need to compile your compiler into an executable for your OS as described in 3b). """
this is what I asked for thnx a lot.It is as I expected.
Also one thing,u r a genius. U understood what I meant.
[a:t:m]
WHILE WALKING THROUGH A STORM,WALK WITH YOUR HEADS RIGHT UP,THEN YOU WILL NEVER WALK ALONE
WHILE WALKING THROUGH A STORM,WALK WITH YOUR HEADS RIGHT UP,THEN YOU WILL NEVER WALK ALONE
Sorry for the mess.
I will try to make my foolish questions better
Sorry to all..............
You all will have to consider that i am a first year engineering student
SORRY
I asked u all bcoz I dont know abt tht
I will try to make my foolish questions better
Sorry to all..............
You all will have to consider that i am a first year engineering student
SORRY
I asked u all bcoz I dont know abt tht
[a:t:m]
WHILE WALKING THROUGH A STORM,WALK WITH YOUR HEADS RIGHT UP,THEN YOU WILL NEVER WALK ALONE
WHILE WALKING THROUGH A STORM,WALK WITH YOUR HEADS RIGHT UP,THEN YOU WILL NEVER WALK ALONE
writing text in cyan with a shedload of emoticons is not a good idea.
The question itself was without detail but that was a secondary matter to me.
EDIT: edited after reading Solar's comment.
The question itself was without detail but that was a secondary matter to me.
EDIT: edited after reading Solar's comment.
Last edited by JamesM on Tue Oct 30, 2007 9:48 am, edited 2 times in total.
Please refrain from using your weird teen slang in this forum. Somebody isn't understanding you right.atmb4u wrote:I asked u all bcoz I dont know abt tht
You've managed partial self hosting in your OS and you even do not know to write a hello world program?
@Candy: *bleep*bleep* ***death threat detected*** *bloop*bloop*JamesM wrote:/me shudders violently
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Death threat?inflater wrote:@Candy: *bleep*bleep* ***death threat detected*** *bloop*bloop*JamesM wrote:/me shudders violently
http://dictionary.reference.com/browse/shudders
Interesting....
Angry FreeVista wrote:**** you
Brynet-Inc wrote:spammers should be jailed.. or shot..
One topic title reads wrote:Some people should just be shot...
me... wrote:FreeVista should be shot in the face
Ain't that fun?...following Candy wrote:Death threats are also a pretty good reason for a ban
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Well lets put in some etiquette comments:atmb4u wrote: 1) Sorry for the mess.
2) I will try to make my foolish questions better
3) Sorry to all..............
4) You all will have to consider that i am a first year engineering student
5)
6) SORRY
7) I asked u all bcoz I dont know abt tht
ad 1) This line is ok, it seems genuine.
ad 2) It seems that the remarks have worked, you intend todo better in the future.
ad 3) see ad 1.
ad 4) A sudden slide in the wrong direction. The use of bold and a remark that we have to take your mistakes into account because of a wierd reason.
ad 5) Sliding further way to many emoticons.
ad 6) Sliding even more because of the shouting.
ad 7) Hitting rock bottom, because of the stupid bcoz, abt, tht. Most of the people here speak english instead of the child speak. Use because, about and that in the future.
Summarizing: It started of well, but became hopeless in the end.
So try again i would say.
Author of COBOS