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?
How to make a .exe file with Turbo c that can be converted
-
- Posts: 5
- Joined: Wed Jul 04, 2012 8:32 am
-
- Posts: 5
- Joined: Wed Jul 04, 2012 8:32 am
Re: How to make a .exe file with Turbo c that can be convert
Here's the source:
Code: Select all
void main()
{
int a;
a=10;
while(a==45);
}
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Re: How to make a .exe file with Turbo c that can be convert
1. ditch turbo cberkus wrote:1. ditch turbo c
2. get gcc
3. profit
2. get gcc
3. ???
4. profit!
Fix'd a bit.
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
-
- Posts: 5
- Joined: Wed Jul 04, 2012 8:32 am
Re: How to make a .exe file with Turbo c that can be convert
How I can download, install and setup GCC for OS dev?
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Re: How to make a .exe file with Turbo c that can be convert
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?)
(You know, the link is quite self-descriptive, isn't it?)
Last edited by Griwes on Wed Jul 04, 2012 10:04 am, edited 1 time in total.
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
Re: How to make a .exe file with Turbo c that can be convert
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.