[comp.unix.aix] where is stdio.h?

david@wubios.wustl.edu (David J. Camp) (01/11/90)

Hi,  I am a new AIX user, and I finally figured out that '/lib/vsc' was
the name of the C compiler (by reinstalling and watching the display).
Now I find that it does not have compatible command-line options as the
normal unix cc compiler.  Once I got started compiling with new options,
it tells me that it cannot find the "stdio.h" file.  I verified that
there is no stdio.h in any subdirectory of /usr/include.  Please let me
know what I am supposed to do to use this compiler.  -David-

Bitnet:   david@wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios@wugate.wustl.edu   < * >    Box 8067, Biostatistics
uucp:     uunet!wugate!wubios!david         v      660 South Euclid
Washington University (314) 36-23635               Saint Louis, MO 63110

rob@disk.UUCP (Rob Miracle) (01/13/90)

In article <990@wubios.wustl.edu>, david@wubios.wustl.edu (David J. Camp) writes:
> Hi,  I am a new AIX user, and I finally figured out that '/lib/vsc' was
> the name of the C compiler (by reinstalling and watching the display).
> Now I find that it does not have compatible command-line options as the
> normal unix cc compiler.  Once I got started compiling with new options,
> it tells me that it cannot find the "stdio.h" file.  I verified that
> there is no stdio.h in any subdirectory of /usr/include.  Please let me
> know what I am supposed to do to use this compiler.  -David-
> 

You are suffering from the same problem that I had a while back  (actually,
I just got it resolved Wednesday).  

You need a product called the "Application Development Toolkit"  In contains:
  cc
  as
  make
  cpp
  all the *.h files
  all the lib* files (such as libc.a)

The C Compiler is just the compiler none of the support.  Our university price
was in the mid $100's.  Corperate price will be somewhat higher. 

Rob

-- 
##      Rob Miracle       ## Call DISK  (502) 968-5401 thru 968-5406  1200-8N1
##      rob@disk.uucp     ##    Available through Starlink!    24 Hours

"Always assume that the other player is an enemy and that the next move is a     trap."  -- Klingon Saying (ST:RPG Klingon Supplement)

garnett@a.cs.okstate.edu (John Garnett) (01/13/90)

In article <990@wubios.wustl.edu> david@wubios.UUCP (David J. Camp) writes:
>Hi,  I am a new AIX user, and I finally figured out that '/lib/vsc' was
>the name of the C compiler (by reinstalling and watching the display).
>Now I find that it does not have compatible command-line options as the
>normal unix cc compiler.  Once I got started compiling with new options,
>it tells me that it cannot find the "stdio.h" file.  I verified that
>there is no stdio.h in any subdirectory of /usr/include.  Please let me
>know what I am supposed to do to use this compiler.  -David-

The diskette which is labeled as being the C compiler does not contain
all of the libraries and other tools necessary to compile C programs.
For that you will need the Applications Development Toolkit (ADT).  This
is a series of five disks I believe.  The libraries on these disks are
used by Fortran and Pascal as well as C I believe (giving some rationale
but not much for unbundling them from the C Compiler).

-- 
John Garnett                           Computing and Information Sciences
                                       Oklahoma State University
Email: garnett@a.cs.okstate.edu        Stillwater, Oklahoma

jackv@turnkey.gryphon.COM (Jack F. Vogel) (01/14/90)

In article <990@wubios.wustl.edu> david@wubios.UUCP (David J. Camp) writes:
 
[ David has installed the C compiler but cannot find the 'cc' command or
[ standard include files like <stdio.h>

I believe I have posted something along these lines before, but once again
for everyone's benefit....

IBM has a rather unusual packaging scheme. The AIX system is divided up
into what they call LPP's (Licensed Program Product). In IBM's scheme of
things the C compiler is just that, the compiler. Now the 'cc' front end
does other things beside call the C compiler, if it is given input of a
file with a '.s' it will call the assembler, if a '.o' it will call the
linker, if '.f' it will call the fortran compiler...and so on. Similarly
for the standard include files, they are used by a number of different
programs. Thus IBM breaks these programs out in another LPP, which is
called ADT which stands for Advanced Development Tools. This is sort of
the foundation package for any particular language package. You should
therefore obtain and install this LPP in addition to any particular
language compiler, like C, Pascal, Cobol, or Fortran (all of which are
available). If your reseller did not include this LPP you should go rag
on them for not being properly informed about the product they sell.

Disclaimer: These are my views, not necessarily IBM's or LCC's (even if
	    they do happen to be correct :-} )


-- 
Jack F. Vogel			jackv@seas.ucla.edu
AIX Technical Support	              - or -
Locus Computing Corp.		jackv@ifs.umich.edu