| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Recipient: | djgpp AT delorie DOT com |
| In-Reply-To: | <200709110405.l8B451Z1021759@delorie.com> |
| Subject: | Re: 1] Problems with compiler 2] Problems with Rhide -- Update More info |
| To: | djgpp AT delorie DOT com |
| X-Mailer: | Lotus Notes Release 7.0.2 September 26, 2006 |
| Message-ID: | <OF22D50236.B5C0E25C-ON87257353.005B3FE3-87257353.005BC9F8@seagate.com> |
| From: | Gordon DOT Schumacher AT seagate DOT com |
| Date: | Tue, 11 Sep 2007 10:42:36 -0600 |
| X-MIMETrack: | Serialize by Router on SV-GW1/Seagate Internet(Release 7.0.1 HF29|March 07, 2006) at |
| 09/11/2007 09:42:39 AM | |
| MIME-Version: | 1.0 |
| X-Proofpoint-FWRule: | outbound2 |
| X-Proofpoint-Virus-Version: | vendor=fsecure engine=4.65.5502:2.3.11,1.2.37,4.0.164 definitions=2007-09-11_04:2007-09-11,2007-09-11,2007-09-11 signatures=0 |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
Ethan Rosenberg <ethros AT earthlink DOT net> wrote on Mon, 10 Sep 2007 08:56:17
-0400:
# I am not a good enough programmer to be able to write code just using
# a text editor. I need to write a segment, compile and write the next
segment.
Write a simple Makefile for it:
foo.exe: my.c another.c something.cpp
gcc -o foo.exe my.c another.c something.cpp
Then do your editing in a modern IDE like CodeWright, SlickEdit,
Code::Blocks, Eclipse, etc. - and then for your Build command use:
bash -c make
(This assumes all DJGPP environment variables are already set up - you
probably will need to set HOME and SHELL.)
In my case, I have a DJGPP.BAT which sets up all appropriate
environment variables, then if parameter is supplied just runs them.
I should post it, perhaps it will be useful to others... in another
message though.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |