delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/29/16:03:56

Message-ID: <38E22A2E.5C3084C@corel.com>
Date: Wed, 29 Mar 2000 11:07:10 -0500
From: Jonathan Meunier <jonathanm AT corel DOT com>
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I compile source code that is not in DJGPP/bin?
References: <8bt81j$h78$1 AT bob DOT news DOT rcn DOT net>
NNTP-Posting-Host: 120.150.3.42
X-Trace: 29 Mar 2000 11:06:27 -0500, 120.150.3.42
Lines: 31
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Did you read the readme.1st? It should be in your DJGPP root dir.. If
not, read it from
http://www.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st  (or any
closer mirror).

Why exactly can't you compile in another directory? If it says "Bad
command or file name" when invoking gcc/gpp, then this simply means you
haven't set the environment variables and the path.. All this is in the
readme.1st, so you should get out of this relatively painlessly.

HTH,
	.(Trancelucid).
	  .  Jaune  .

Klytu wrote:
> 
> I am a true beginner to DJGPP and to GNU software. I originally got an old
> version of DJGPP with a CD that came with a book (Teach Yourself C++ in 24
> Hours); but I have now updated DJGPP and my GNU files to 2952 and Rhide to
> 1475. My problem is that I can only compile code that I write if that code
> along with all the header files  that I create for it is located in the
> c:\DJGPP\bin directory. I found what I thought was a solution by indicating
> an include path in Rhide (by using Options>directories>include), but then
> Rhide only finds the header files that I have placed in that specific
> directory; I can't indicate more that one directory (as it seems I need to
> do to compile some of the sample programs in DJGPP). The only info I found
> in the FAQs tells what to do if the problem is related to long filenames (it
> is not) or if gcc is not finding the standard headers for C or C++ (it finds
> those just fine, it just doesn't find the ones I create unless they are in
> c:\DJGPP\bin). Can anyone out there help or point me in the right direction
> or am I just hopelessly lost?

- Raw text -


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