> Hey Kent,
>
> Your perl has been compiled for support for the builtin cc, this is
> why you are getting compiler directives like '-Aa' and '-z' which gcc
> doesn't understand. Also, since perl was compiled with your vendor cc,
> I'm not sure how it will mix if you start compiling modules with gcc.
>
> You have two choices:
>
> 1) do make CC=CC, or whatever the name of your vendor C++ compiler is
I may be wrong, but I think the box I'm trying to compile on did not have
a C++ compiler. Just the ANSI C compiler I installed. I now have gcc on
there, so does that mean I need to proceed with step 2 below?
> 2) download and compile perl 5.6.1 with gcc
So I have to compile the source? I can't just use a precompiled HP-UX
version? Can I only use a precompiled version if it was compiled with
gcc? If so, how does it remember who compiled it? :)
> It seems easier to get 1) working
>
> jas.
>
> "Kent Johnson" <[EMAIL PROTECTED]> writes:
>
> > 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
>
> ---------------------------------------------------------------------
> 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]