Article View: gnu.gcc.help
Article #53359INCPATH and LIBPATH?
From: Peter Eriksson
Date: Wed, 12 Feb 1992 18:41
Date: Wed, 12 Feb 1992 18:41
19 lines
1495 bytes
1495 bytes
There is one thing I am missing from the otherwise nice Unix world that I grew accustomed to when in the PRIMOS world, and that is to be able to specify a default search path for <include> files and "-lfoo" libraries. I know that I can use "-I" and "-L" on the command line, but I think that it would be much better if there were a mechanism for handling this using environment variables when I always (or most of the time) have to add a directory to the search path. What do you folx think? I'm thinking of writing the code needed to implement this (easy to do in Gcc/cccp.c, haven't looked at the code for the ld linker). /Peter -- Peter Eriksson pen@lysator.liu.se Lysator Computer Club ...!uunet!lysator.liu.se!pen University of Linkoping, Sweden "Try LysKOM!"
Technical Details
Message-ID:
<1028@lysator.liu.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!sunic!liuida!isy!lysator.liu.se!penShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d10ab7e54eef2618,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-02-12 12:21:00 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!sunic!liuida!isy!lysator.liu.se!pen From: pen@lysator.liu.se (Peter Eriksson) Newsgroups: gnu.gcc.help Subject: INCPATH and LIBPATH? Summary: A feature I could use Keywords: feature gcc ld cpp Message-ID: <1028@lysator.liu.se> Date: 12 Feb 92 18:41:56 GMT Sender: news@isy.liu.se (Lord of the News) Organization: Lysator Computer Club, Linkoping University, Sweden Lines: 19