Page 1 of 1
How to make a .exe file with Turbo c that can be converted
Posted: Wed Jul 04, 2012 8:43 am
by reallybeginner
Hi!!!
I really new to OS Developmen, so please don't put down me.
I wrote a simple kernel in turbo c, and I compiled it. (I get an .exe file)
I tried to convert it to .bin with
exe2bin command, but it says:'The file cannot be converted'
How can I convert an .exe file made with Turbo C to a .bin file?
Re: How to make a .exe file with Turbo c that can be convert
Posted: Wed Jul 04, 2012 8:57 am
by reallybeginner
Here's the source:
Code: Select all
void main()
{
int a;
a=10;
while(a==45);
}
Re: How to make a .exe file with Turbo c that can be convert
Posted: Wed Jul 04, 2012 9:50 am
by Griwes
berkus wrote:1. ditch turbo c
2. get gcc
3. profit
1. ditch turbo c
2. get gcc
3. ???
4. profit!
Fix'd a bit.
Re: How to make a .exe file with Turbo c that can be convert
Posted: Wed Jul 04, 2012 9:57 am
by reallybeginner
How I can download, install and setup GCC for OS dev?
Re: How to make a .exe file with Turbo c that can be convert
Posted: Wed Jul 04, 2012 10:01 am
by Griwes
Start by clicking that big "The OSDev.org Wiki - Got a question? Search this first!" link on the top of the forum.
(You know, the link is quite self-descriptive, isn't it?)
Re: How to make a .exe file with Turbo c that can be convert
Posted: Wed Jul 04, 2012 10:03 am
by bluemoon
Spoon-feed is prohibited in this forum. There is a secret link on this page which tell you everything, I can only tell you so much.