[EMAIL PROTECTED] (Bob Proulx) writes:
> Since on HP-UX with the optional HP ANSI C compiler installed 'cc' is
> a symlink in /usr/bin and also /bin on HP-UX is a symlink to /usr/bin
> resulting in a single large bin directory with everything in it all in
> one place so it would be difficult to ch
On Wed, 2007-09-26 at 09:43 -0600, Bob Proulx wrote:
> *I* would probably use the following and code in the appropriate
> extern C declarations.
>
> ./configure CC=cc CFLAGS="-Ae -g" CXX=aCC CXXFLAGS="-g"
>
> But if you simply want to call C files C++ and force using the aCC C++
> compiler fo
Andreas Schwab wrote:
> Joao Miguel Ferreira writes:
> > Question: How do I tell the tools to use only aCC for both types of
> > files, when compiling on an HPUX (we also build on Linux/gcc and
> > Solaris/gcc) ?
If the optional native HP ANSI C compiler is installed and 'cc' is a
symlink to it th
Joao Miguel Ferreira <[EMAIL PROTECTED]> writes:
> Question: How do I tell the tools to use only aCC for both types of
> files, when compiling on an HPUX (we also build on Linux/gcc and
> Solaris/gcc) ?
./configure CC=foo CXX=bar
> PS: the cc is a link in /usr/bin that point to /opt/ansic/bin/cc
Hello all,
On my project we have both C and C++ files to compile.
On the first part 'make' compiles C files and builds a lib
After that it compiles C++ files and builds another lib.
during ./configure it finds:
cc for the C compiler part and
aCC for the C++ part