Tried the following two commands, and here is their output:
# make CC=/opt/gcc/bin/g++
make -C Handler static
make[1]: Entering directory `/opt/xerces-p1.5.7/Handler'
/opt/gcc/bin/g++ -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
-Aa -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
-I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE
PerlContentCallbackHandler.cpp
g++: +z: No such file or directory
<command line>: missing '(' after predicate
make[1]: *** [PerlContentCallbackHandler.o] Error 1
make[1]: Leaving directory `/opt/xerces-p1.5.7/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2
# make CC=/opt/gcc/bin/gcc
make -C Handler static
make[1]: Entering directory `/opt/xerces-p1.5.7/Handler'
/opt/gcc/bin/gcc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
-Aa -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
-I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE
PerlContentCallbackHandler.cpp
gcc: +z: No such file or directory
<command line>: missing '(' after predicate
make[1]: *** [PerlContentCallbackHandler.o] Error 1
make[1]: Leaving directory `/opt/xerces-p1.5.7/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2
any ideas?
thanks again,
kent
On 7 Oct 2001, Jason E. Stewart wrote:
> "Kent Johnson" <[EMAIL PROTECTED]> writes:
>
> > /opt/ansic/bin/cc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
> > -Aa -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
> > -I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE
> > PerlContentCallbackHandler.cpp
>
> Hey Kent,
>
> It looks like the standard problem, compiling C++ code with a C
> compiler. Trying setting your C++ compiler explicitly using:
>
> make CC=compiler_name
>
> for example
>
> make CC=CC
>
> or
>
> make CC=g++
>
> > i am using perl5.004.sometihng and gnu make... i have installed gcc but i
> > don't know how to make it so it's used instead of my ansi c
> > compiler. thanks for the help,
>
> You have to set it explicitly as above.
>
> HTH,
> jas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]