Xref: news-dnh.mv.net comp.os.msdos.djgpp:404 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!news.starnet.net!wupost!news.utdallas.edu!corpgate!bcarh189.bnr.ca!nott!cunews!freenet.carleton.ca!FreeNet.Carleton.CA!ao950 From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Subject: Problem with DJGPP: how to set include path and other stuff? Sender: ao950 AT freenet2 DOT carleton DOT ca (Paul Derbyshire) Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Organization: The National Capital FreeNet Date: Fri, 16 Jun 1995 00:44:19 GMT Lines: 23 To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Much of the documentation is missing from my copy (the txi archive is missing); as a result I can't find this anywhere. Currently the include search path includes several nonexistent directories (such as /usr/include) that must be holdovers from a unix copy. Second, I want to put include files I make myself in a separate directory, such as /djgpp/pgd/include, and add it to the path. I also want it to search for libraries in /djgpp/lib rather than having to specify the full pathnames on the command line. gcc foo.c c:\djgpp\lib\libpc.a c:\djgpp\lib\libgr.a -o foo.cof is an awful lot to type. There are several environment variables such as COMPILER_PATH but setting these in autoexec.bat seems to have no effect, for whatever odd reason (and yes, I rebooted to make them take effect!) Coming on top of the missing archives (txi and gpp) this is annoying. Can anyone be so kind as to tell me how to set these paths? -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ,------------------------------------------------ -- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca