Hi all,
I have a question (which hopefully has an easy solution). Under woody I had third-party source code which compiled fine (using cc). Under sarge it fails to locate standard header files.
woody:
Code:
$ cc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
sarge:
Code:
$ cc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-6sarge1)
a
cc compile outputs:
Code:
...
libdef.h:67:26: stdio.h: No such file or directory
libdef.h:71:27: malloc.h: No such file or directory
libdef.h:73:30: sys/types.h: No such file or directory
libdef.h:104:29: sys/time.h: No such file or directory
...
With the woody installation I selected a tasksel option for "developer tools" (or similar). My sarge installation did not install cc (gcc). The only package I have installed for this is the
gcc package. Am I missing other packages? Or do I need to add extra compiler options to cc in order for it to behave like an earlier version? (I'm thinking this could this be something to do with ANSI standards)