[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re: HPUX-DEVTOOLS: ACE-TAO for HPUX
From:       "Yi Wang" <y.wang () hp ! com>
Date:       2005-04-25 14:35:43
Message-ID: 008401c549a4$0f7aafd0$c3888d10 () americas ! cpqcorp ! net
[Download RAW message or body]

Hi Shesha,

We built ACE/TAO successfully on HP-UX IPF last Oct.

Here's what you need to do to build ACE using GNU Make and ACE's traditional
per-platform configuration method:

1. Install GNU make 3.79.1 or greater on your system. You must use GNU make
when using ACE's traditional per-platform configuration method or
ACE won't compile.

2. Add an environment variable called ACE_ROOT that contains the name of the
root of the directory where you keep the ACE wrapper source tree.
The ACE recursive Makefile scheme needs this information.

3.Create a configuration file, $ACE_ROOT/ace/config.h, that includes the
appropriate platform/compiler-specific header configurations from the
ACE source directory. For example:

      #include "ace/config-hpux-11i-aCC.h"

4. Create a build configuration file,
$ACE_ROOT/include/makeinclude/platform_macros.GNU, that contains the
appropriate platform/compiler-specific Makefile configurations, e.g.,

      buildbit = 64
      stdcpplib = 1
      include $(ACE_ROOT)/include/makeinclude/platform_hpux_aCC.GNU

This file contains the compiler and Makefile directives that are
platform/compiler-specific. If you'd like to add make options, you can
add them before including the paltform-specific configuration.

5. Note that because ACE builds shared libraries, you'll need to set
LD_LIBRARY_PATH to whereever you put the binary version of the ACE
library. For example, you probably want to do something like the following

      % setenv LD_LIBRARY_PATH $ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH

6. When all this is done, hopefully all you'll need to do is type:

      % gmake

at the root of the ACE source tree ($ACE_ROOT). This will build the ACE
library, tests, the examples, and the sample applications.

Building the entire ACE release can take a long time and consume lots of
disk space, however. Therefore, you might consider cd'ing into the
$ACE_ROOT/ace/ directory and running make there to build just the ACE
library. As a sanity check, you might also want to build and run the
automated "one-button" tests in $ACE_ROOT/tests/. Finally, if you're also
planning on building TAO, you should build the gperf perfect hash
function generator application in $ACE_ROOT/apps/gperf/.

7. If you would like to clean up your previous build, do a

      % gmake realclean
then,
      % gmake

Hope this helps.

Yi Wang
TEC


-----Original Message-----
From: owner-hpux-devtools@cxx.cup.hp.com
[mailto:owner-hpux-devtools@cxx.cup.hp.com] On Behalf Of S G Ganesh
Sent: Thursday, April 21, 2005 10:04 PM
To: hpux-devtools@cxx.cup.hp.com
Subject: HPUX-DEVTOOLS: ACE-TAO for HPUX

(sending on behalf of Sesha)

Hi,

I downloaded ACE-TAO from the below mentioned URL.

http://www.cs.wustl.edu/~schmidt/ACE_wrappers/ACE-INSTALL.html#aceinstall

When I try to build ACE using aCC Iam getting lot of compiler errors, looks
like there is some configuration problems for hpux/aCC.
Please let us know if we can get ACE-TAO which can be build on hpux/aCC
readily.

I am trying to use the latest aCC compiler A.03.63.

Thanks
Shesha
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic