diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 03:12:40 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 03:12:40 +0000 |
commit | dbe09ee556534cfdf10508227568a5d6e2c3b638 (patch) | |
tree | 0d6075f08c2597c31815f6581fcedf8dc24b7b11 /ACE-INSTALL.html | |
parent | 1df1370cbcc712afa2cc7439292010e1bffa13a7 (diff) | |
download | ATCD-dbe09ee556534cfdf10508227568a5d6e2c3b638.tar.gz |
ChangeLogTag: Mon Jul 19 22:11:13 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ACE-INSTALL.html')
-rw-r--r-- | ACE-INSTALL.html | 77 |
1 files changed, 14 insertions, 63 deletions
diff --git a/ACE-INSTALL.html b/ACE-INSTALL.html index f1337682993..7f15b81ced0 100644 --- a/ACE-INSTALL.html +++ b/ACE-INSTALL.html @@ -1140,7 +1140,7 @@ easiest way to fix it is as above, recreate it.</P> For the most part, you should be able to follow the instructions above to build ACE and applications that use it. Start with the <a href="#unix">Unix instructions</a> above to build ACE and the -applications that use it. Please see below for mroe information on +applications that use it. Please see below for more information on <a href="#VxWorks/NT">building ACE on NT hosts for VxWorks targets</a>.<P> A few notes on VxWorks builds (thanks to @@ -1229,10 +1229,6 @@ Please note that those VxWorks kernel configuration parameters are set in the VxWorks configAll.h file. You must rebuild your VxWorks kernel after modifying that file.<p> -It probably wouldn't take much effort to modify the -ACE library to not require <code>INCLUDE_CPLUS_IOSTREAMS</code>, -if necessary.<p> - If you're first getting started with ACE and/or VxWorks, I recommend just building the ACE library and tests first. (Some of the ACE examples, in System_V_IPC, don't build on VxWorks yet.) Then try @@ -1311,6 +1307,7 @@ A few additional Windows Notes, from Paul von Behren:<p> ``generic'' Unix environment. Using this library, they have ported a large collection of GNU tools to WinNT/95 - including a port of gcc/g++. See <A href="http://www.cygnus.com/misc/gnu-win32/">http://www.cygnus.com/misc/gnu-win32/</A> + A related link is <a href="ftp://ftp.cygnus.com/pub/gnu-win32/latest/">ftp://ftp.cygnus.com/pub/gnu-win32/latest/</a> WindRiver provides a subset of these tools - including make and gcc cross-compilers. (Note: it appears that the make that is provided with Tornado 2.0 cannot be used to build ACE. @@ -1340,12 +1337,7 @@ Using the Cygnus tools, this approach should work: <code>ACE_wrappers/include/makeinclude/platform_macros.GNU</code> as usual for VxWorks. See <a href="include/makeinclude/platform_vxworks5.x_g++.GNU">the - g++/VxWorks platform file</a> for more information. You may - also want to add this line, because there's no need to install - libraries in the VxWorks build: -<pre> -INSTALL= -</pre><p> + g++/VxWorks platform file</a> for more information.<p> <li>Create an <code>ACE_wrappers/ace/config.h</code> file that looks something like the following. tao_idl should be built to not support native exception handling, because that's not available on VxWorks. @@ -1367,21 +1359,6 @@ And Chris Ryan's instructions for building for VxWorks targets on Windows NT hosts: <ol> - <li>Create UNIX-like environment in NT Command Prompt windows by - downloading GNU bash, perl, and so forth from your favorite ftp - site. I went to <a href="ftp://ftp.cygnus.com/pub/gnu-win32/latest/">ftp://ftp.cygnus.com/pub/gnu-win32/latest/</a> - and downloaded <code>cdk.exe</code> and installed that on my NT box. - I downloaded perl5.0 from where I can't remember. There may have been - bits and pieces from other places for things like <code>vi</code> and - <code>less</code>. - - <li>Download latest ACE. Create 2 parallel trees, say - <code>/ace/ACE_wrappers.NT</code> and - <code>/ace/ACE_wrappers.vxworks</code>. The NT tree is for building - <code>aced.dll</code> and <code>tao_idl.exe</code> as currently - documented for ACE/TAO on NT/VC++5.0. The VxWorks tree is the - cross compilation tree. - <li>Path setting that seems to be working is:<p> <pre> /tornado/host/x86-win32/bin: @@ -1429,42 +1406,20 @@ on Windows NT hosts: <code>cygwin.dll</code> is from the Cygnus GNU software download and install. <li>Basically, follow documented procedure for ACE build/install on UNIX - platform. Create a <code>$ACE_ROOT/ace/config.h</code> that looks like:<p> + platform. Create a <code>$ACE_ROOT/ace/config.h</code> that looks + like:<p> <pre> #include "config-vxworks5.x.h" </pre> - And create a <code>$ACE_ROOT/include/makeinclude/platform_macros.GNU</code> + And create a + <code>$ACE_ROOT/include/makeinclude/platform_macros.GNU</code> that looks like:<p> <pre> WIND_BASE = /tornado WIND_HOST_TYPE = x86-win32 - PATH += :$(WIND_BASE)/host/$(WIND_HOST_TYPE)/bin CPU = I80486 - include $(ACE_ROOT)/include/makeinclude/platform_NTvxworks5.x_g++.GNU - </pre> - - (But, I guess the PATH+= line is superfluous based on the PATH as shown - previously). - - Finally, create a - <code>$ACE_ROOT/include/makeinclude/platform_NTvxworks5.x_g++.GNU</code> - with diff output from 'diff platform_vxworks5.x_g++.GNU - platform_NTvxworks5.x_g++.GNU' that looks like: - - <pre> - 58c58 - < HOST_DIR = $(WIND_BASE)/host/sun4-solaris2 - --- - > HOST_DIR = $(WIND_BASE)/host/x86-win32 - 62,63c62,63 - < CXX = g++$(TOOLENV) - < CFLAGS += -DVXWORKS -D_REENTRANT -ansi -fno-builtin - -fno-defer-pop -fvolatile -nostdinc -nostdlib -pipe -Wall - --- - > CXX = $(CC) - > CFLAGS += -DVXWORKS -D_REENTRANT -ansi -fno-builtin -fno-defer-pop \ - -fvolatile -nostdinc -nostdlib -Wall #-pipe + include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.x_g++.GNU </pre> <li>Now, follow the existing documentation for a UNIX platform build of ACE @@ -1474,8 +1429,8 @@ on Windows NT hosts: </pre> <li>To build $ACE_ROOT/tests, I had to use the <code>make.exe</code> in the - <code>/gnuwin32/b18/H-i386-cygwin32/bin</code> directory as I couldn't get - make shipped with Tornado to run ace_ld and I couldn't figure out any + <code>/gnuwin32/b18/H-i386-cygwin32/bin</code> directory as I couldn't + get make shipped with Tornado to run ace_ld and I couldn't figure out any other work around.<p> <pre> @@ -1491,21 +1446,17 @@ on Windows NT hosts: <li>Build ACE and TAO_IDL in the NT tree as already documented. As mentioned above, I put <code>aced.dll</code> in <code>/bin</code>. - <li>Copy TAO_IDL/tao_idl.exe to TAO_IDL directory in the ACE/TAO vxworks - source tree. (I didn't spend any time yet looking for the place where the - makefiles are using the absolute path to tao_idl.exe.) - - <li>Build orbsvcs. + <li>Build $TAO_ROOT/tao <pre> CPP_LOCATION=/Program Files/DevStudio/VC/bin/CL.exe - cd $TAO_ROOT/orbsvcs/orbsvcs + cd $TAO_ROOT/tao /gnuwin32/b18/H-i386-cygwin32/bin/make </pre> - <li>Build $TAO_ROOT/tao + <li>Build orbsvcs. <pre> CPP_LOCATION=/Program Files/DevStudio/VC/bin/CL.exe - cd $TAO_ROOT/tao + cd $TAO_ROOT/orbsvcs/orbsvcs /gnuwin32/b18/H-i386-cygwin32/bin/make </pre> |