www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/01/21:54:57

From: Skye <s_c AT iname DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: making exe's in RHIDE...
Date: Tue, 01 Apr 1997 16:25:40 -0800
Organization: Uniserve
Lines: 64
Message-ID: <3341A784.3BAB@iname.com>
References: <01bc3ec2$782b1c40$233363c3 AT 8652hvt73761>
Reply-To: s_c AT iname DOT com
NNTP-Posting-Host: dy2-13.van.tvs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Matthew Bennett wrote:
> 
> Hiya,
> 
> I'm new to DJGPP and so I decided to use RHIDE to make things
> a little clearer.
> 
> I know this sounds *so* simple, but if I write a simple program that
> has, say,
> 
> #include <stdio.h>
> 
> When I come to make that program, RHIDE says
> "Don't know how to build stdio.o from stdio.h".
> 
> How can I get it to make an exe out of my program with include
> files?!
> 
> Thanks,
> Matthew

If you are having trouble making a project using RHIDE
I'll make it real simple......
But from your code it looks like your biggest problem may be that you
can't program in C yet. If that is the case then you'll have to look
elsewhere for a tutorial. (or email me and I'll see what I can do)


Making a project in RHIDE:

In RHIDE select Project + Open Project from the menu.
In the dilog select what DIR you want your project it.
Enter the name of your project i.e. [myproj]
A project window opens up at the bottom of the screen.
From the menu select Project + Add Item ...
Type in the name of your source file i.e. [mysrc.c]
Click [OK] then [Canclel]
You should then see your source file in the project window.
Double click on the source file and you can now edit it.
Once you've got your program written i.e.

#include <stdio.h>

int main()
{ 
  printf("Hello World.");

  return 0;
}

select Compile + Compile from the menu.

Your source should then compile OK (providing you didn't ooops).
You can then select Compile + Link from the menu to link the program.
Once the linking process is finnished you will have an EXE.
To do the compiling and linking in one step use the Compile+Build All
menu  choice.
Run it. 
(Select File+DOS Shell from the menu and type in your project name)
i.e.[myprog]

That how you create, wirite and build a basic project in RHIDE.

-SC

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019