From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,dc4beedc6467b472 X-Google-Attributes: gidfee84,public From: "Gerald A. Feldman" Subject: Re: Compiling with C Date: 1997/04/04 Message-ID: <3345C5EC.1162@highway1.com>#1/1 X-Deja-AN: 230919352 References: <01bc40c9$9114e0c0$24c8c8c8@doug> X-Priority: 3 (Normal) Organization: Boston Computer Solutions and Consulting Newsgroups: comp.unix.osf.osf1 Doug Hamilton wrote: > > What DEC modules do I need installed in order to use C compiler? > > I keep getting library errors, e.g. can't find stdio.h. That does not make sense. The C compiler is shipped on the base product. Make sure that you installed the Development Environment subset. stdio.h should be in /usr/include. What compilation options are you using. One thing that could cause this is misuse of the -I command line option. On Digital Unix, -I alone tels the compiler not to look in the standard place for header files. Also, there is a search hierarchy for libraries. The -L flag, similar to the -I flag, used without an argument tells the linker not to look in the standard place. Both the CFE (the default compiler in V3.2 and prior), and DECC (V4.0 and later) support these flags. -- +----------------------------------------------+ | Jerry Feldman | | Boston Computer Solutions and Consulting | | http://gaf.ne.highway1.com/ | +----------------------------------------------+