From: "Klytu" Newsgroups: comp.os.msdos.djgpp Subject: How do I compile source code that is not in DJGPP/bin? Date: Wed, 29 Mar 2000 10:38:22 -0500 Lines: 17 Message-ID: <8bt81j$h78$1@bob.news.rcn.net> X-Trace: gA/pLVzH04StTJ4ZkP2UY42varQlkfoVsS+r/4QTjT8EEs0H6wgbFQ== X-Complaints-To: abuse AT rcn DOT com NNTP-Posting-Date: 29 Mar 2000 15:38:27 GMT X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MSMail-Priority: Normal X-Priority: 3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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?