summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE-INSTALL.html37
-rw-r--r--ace/OS.i9
2 files changed, 33 insertions, 13 deletions
diff --git a/ACE-INSTALL.html b/ACE-INSTALL.html
index 7cd3a16224e..1f35d7702e5 100644
--- a/ACE-INSTALL.html
+++ b/ACE-INSTALL.html
@@ -36,9 +36,10 @@ HREF="ACE.FAQ.html">FAQ</A> before building and installing ACE.
The ADAPTIVE Communication Environment has been ported and tested
extensively on a wide range of C++ compilers and uni-processor and
-multi-process OS platforms including Win32 (i.e., WinNT and Win95),
-most versions of UNIX (e.g., SunOS 4.x and 5.x, SGI IRIX, HP-UX,
-OSF/1, AIX, Linux, and SCO), VxWorks, and MVS OpenEdition. If you
+multi-processor OS platforms including Win32 (i.e., WinNT and Win95),
+most versions of UNIX (e.g., SunOS 4.x and 5.x, SGI IRIX, DG/UX,
+HP-UX, OSF/1, AIX, Linux, and SCO), <A
+HREF="http://www.wrs.com">VxWorks</A>, and MVS OpenEdition. If you
have a problem compiling the ACE wrappers on the platforms shown below
please send email to the <A HREF="mailto:ace-users@cs.wustl.edu">ACE
mailing list</A> and we'll try to fix it for you.
@@ -87,7 +88,7 @@ mailing list</A> and we'll try to fix it for you.
LIBS += -lnsl <P>
- in the $ACE_ROOT/include/makeinclude/wrapper_macros.GNU
+ in the <CODE>$ACE_ROOT/include/makeinclude/wrapper_macros.GNU</CODE>
file. Naturally, any programs (e.g., the TLI_SAP tests)
that use the TLI wrappers aren't going to work! <P>
@@ -106,10 +107,30 @@ mailing list</A> and we'll try to fix it for you.
you don't have this patch, the sv* commands for compiling
and linking will not be present on the system. <P>
+ BTW, here's a technique from Rob Jordan &lt<A
+ HREF="mailto:jordan@hursley.ibm.com">jordan@hursley.ibm.com</A>&gt
+ that can reduce the size of the ACE libraries by
+ about one third, and can also be applied to applications. It works
+ by optimising the sharing of template functions, which are created in an
+ ``unusual'' way under AIX. It also speeds up compilation. <P>
+
+ Here's how to optimise the ACE library generation: <P>
+
+ Look at the <A
+HREF="http://www.cs.wustl.edu/~schmidt/ACE_wrappers/ace/Makefile">Makefile</a>
+ in <CODE>$ACE_ROOT/ace</CODE>. Create a file called
+ <CODE>ACE_All_Src.cpp</CODE>, and add a line to #include
+ each of the source files
+ listed under <CODE>FILES=</CODE> in the Makefile. Create a
+ file called <CODE>ACE_All_Tmp.h</CODE>
+ and add a line to #include each of the .h files listed under
+ <CODE>TEMPLATE_FILES=</CODE> in the Makefile. Now update the Makefile so that
+ <CODE>FILES=ACE_All_Src</CODE> and <CODE>TEMPLATE_FILES=ACE_All_Tmp</CODE>. <P>
+
<DT> <B> Linux and SCO 4.2 </B> <P>
<DD> ACE has been ported to <A
-HREF="http://www.deltanet.com/users/slg/ACE">Linux</A> and SCO UNIX
+HREF="http://www.cs.wustl.edu/~cleeland/ace/">Linux</A> and SCO UNIX
using the GNU G++
2.7.2 compiler. <P>
@@ -151,7 +172,7 @@ for help with this port. <P>
<DT><B>VxWorks</B> <P>
<DD>
- <A HREF="http://www.cs.wustl.edu/~levine/">David Levine</A> &lt<A HREF="mailto:levine@cs.wustl.edu">levine@cs.wustl.edu</A>&gt has ported ACE to VxWorks 5.2 and 5.3 using the GreenHills 1.8.8 compiler.
+ <A HREF="http://www.cs.wustl.edu/~levine/">David Levine</A> &lt<A HREF="mailto:levine@cs.wustl.edu">levine@cs.wustl.edu</A>&gt has ported ACE to VxWorks 5.2 using the GreenHills 1.8.7 compiler.
</DL>
<DT><B>MVS OpenEdition</B> <P>
@@ -273,7 +294,8 @@ assume you're using MSVC++ 4.x (things are a little different for the
Create a directory accessible via Windows NT (e.g., C:\ACE) and
copy all of ACE into it. This directory will be $ACE_ROOT in
- the following discussion. Then copy config-win32.h to
+ the following discussion. Then copy either config-win32-msvc4.0.h
+ or config-win32-msvc2.0.h (depending on your compiler of course) to
config.h. Note that files like ChangeLog may do strange things on
NT since they are symbolic links (which aren't supported under NT). <P>
@@ -631,6 +653,7 @@ When it's done, you should have a static or dynamic library
<LI><A HREF="#cloning">Cloning the Source Tree</A>
<LI><A HREF="#corba">Building CORBA Versions of ACE</A>
<LI><A HREF="http://www.cs.wustl.edu/~levine/CVS.html">Version Control</A>
+<LI><A HREF="http://www.cs.wustl.edu/~cleeland/ace/makefile-hints.html">ACE Makefile hints</a>
</UL>
<H4><A NAME="cloning">Cloning the Source Tree</H4>
diff --git a/ace/OS.i b/ace/OS.i
index 2e93cffa2de..0d725f42e5d 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -1789,20 +1789,17 @@ ACE_OS::sema_init (ACE_sema_t *s, u_int count, int type,
#if defined (ACE_HAS_POSIX_SEM)
ACE_UNUSED_ARG (arg);
ACE_UNUSED_ARG (max);
+
+#if !defined (ACE_LACKS_NAMED_POSIX_SEM)
if (name)
{
s->name_ = ACE_OS::strdup (name);
-#if !defined (CHORUS)
s->sema_ = ::sem_open (s->name_, O_CREAT,
ACE_DEFAULT_FILE_PERMS, count);
return (int) s->sema_ == -1 ? -1 : 0;
-#else
- s->sema = (sem_t *) -1;
- ACE_NOTSUP_RETURN (-1);
-#endif /* CHORUS */
-
}
+#endif /*ACE_LACKS_NAMED_POSIX_SEM */
else
{
s->name_ = 0;