versions: Cygwin CYGWIN_NT-5.1
g++ 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
(cmake is available by cygwin project)
Before making ACE
- Get and decompress tar ball (e.g. /work/ACE_wrappers).
- Set an environment variable;
- Create some symbolic links;
ln -s platform_cygwin32.GNU platform_macros.GNU
ln -s config-cywin32.h config.h
Setting include path
Compiling ACE generates many errors by default of cygwin. It is because the preprocessor of g++ on cygwin behaved in a strange way. It regards the lines "signal.h" or so on in /usr/include/*.h files as the same name files in ACE.
Solution: To avoid this errors, you should export an environment variable like:
Then you can compile ACE without any errors. This issue is not declaired at the official homepage of ACE/TAO.
To install ACE to your cygwin,
cp -r $ACE_ROOT/ace /usr/local/include
cp $ACE_ROOT/lib/* /usr/local/lib
To tell your cygwin where is the ACE dynamic libraries,
cygwin cannot search the libraries without setting PATH variable properly. It's a specification of cygwin.
Additional step to test ACE: