Hi Bruce,
Hi Bruce,

We use the -nocxxstd option because the library just wouldn't work without
it.  You'll get unresolved symbol warnings, but the library should load and
the executables will run correctly.  Here's our version of cxx:

   hudson.zk3-x.dec.com> cxx -V
   Compaq C++ V6.3-003 for Compaq Tru64 UNIX V5.1 (Rev. 732)
   Compiler Driver V6.3-003 (cxx) cxx Driver

It looks like your compiler version is newer than ours, so perhaps the
problems we encountered have been fixed, and you no longer need the option.
You might want to try it both ways, just to see if there are any issues
either way.  Why we can use -nocxxstd for building the shared library, but
can't use it for building the executables is a mystery to me. The fact that
you can build the Xalan library _without_ -nocxxstd, but then have to use
it to build the executables is also a mystery.

But I'm confused about what you're saying regarding the Makefile.  We only
have one Makefile, so I have no idea what you mean when you say you "moved
the -nocxxstd option from the Xalan library make file to the Sample make
file".

Dave



                                                                                       
                       
                      Bruce Bailey                                                     
                       
                      <[EMAIL PROTECTED]         To:      "'Xalan Developers'" 
<[EMAIL PROTECTED]>       
                      p.com>                   cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                  
                                               Subject: Question On Building Xalan 1.3 
on Compaq Tru64        
                      02/27/2002 10:59                                                 
                       
                      AM                                                               
                       
                      Please respond                                                   
                       
                      to xalan-dev                                                     
                       
                                                                                       
                       
                                                                                       
                       



Hi

I ran into a link problem while trying to build Xalan 1.3 on my DEC.  I saw
numerous warnings about unresolved symbols in the std library.  I removed
the -nocxxstd option from both Makefile and Makefile.in in
$XALANCROOT/c/src.  When I rebuilt the library, the link completed just
fine.

When I tried to build the samples, I got numerous messages about multiply
defined symbols.  I then added the -nocxxstd option to the link for the
samples.  The sample programs then linked without error and ran
(apparently)
correctly.

Should I have moved the -nocxxstd option from the Xalan library make file
to
the Sample make file?  Is there something I should have done differently?

My compiler (cxx) is: Compaq C++ V6.3-013 for Digital UNIX V4.0F  (Rev.
1229).
On Tru64 (Digital UNIX V4.0F).

Thanks in advance,

Bruce


Bruce Bailey
2525 SW First Avenue
Portland, OR 97201
[EMAIL PROTECTED]






Reply via email to