Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ACE/TAO Mingw32 and the include command

17 views
Skip to first unread message

szy...@o2.pl

unread,
Sep 12, 2014, 1:47:59 PM9/12/14
to
Hello
I try to compile Corba broker called TAO. And at the begining I need compile ACE (for some unknown reason). I have idea to make my applications multiplatform (at least Windows and Linux). But I have error at the very begining.
Problem lies in file C:\x-unix\ACE_wrappers\ace\GNUmakefile line 21:
include $(ACE_ROOT)/include/makeinclude/macros.GNU
I run bash and type command:
export ACE_ROOT=/cygdrive/c/x-unix/ACE_wrappers
Then I type:
$ mingw32-make
GNUmakefile:21: /cygdrive/c/x-unix/ACE_wrappers/include/makeinclude/macros.GNU:
No such file or directory
mingw32-make: *** No rule to make target '/cygdrive/c/x-unix/ACE_wrappers/includ
e/makeinclude/macros.GNU'. Stop.


Then I copy path from above error message and call cat program:

$ cat /cygdrive/c/x-unix/ACE_wrappers/include/makeinclude/macros.GNU
#-*- Makefile -*-

#----------------------------------------------------------------------------
# $Id: macros.GNU 1861 2011-08-31 16:18:08Z mesnierp $
#
# Local and nested target definitions
#----------------------------------------------------------------------------
[[[rest of make file]]]

So suprisingly cat can access file but make don't! I am stuck with that! Please tell me what I doing wrong? I want write profesional applications so I need Corba!
This problem doesn't appear under Kubuntu. But I need Corba under Windows (too).


thank you for your effort
Szyk Cech

Paavo Helde

unread,
Sep 12, 2014, 2:17:55 PM9/12/14
to
szy...@o2.pl wrote in
news:28745bab-b906-480c...@googlegroups.com:

> $ mingw32-make
> GNUmakefile:21:
> /cygdrive/c/x-unix/ACE_wrappers/include/makeinclude/macros.GNU: No
> such file or directory mingw32-make: *** No rule to make target
> '/cygdrive/c/x-unix/ACE_wrappers/includ e/makeinclude/macros.GNU'.
> Stop.
>
>
> Then I copy path from above error message and call cat program:
>
> $ cat /cygdrive/c/x-unix/ACE_wrappers/include/makeinclude/macros.GNU
> #-*- Makefile -*-

This has nothing to do with C++, but probably the mingw system does not see
/cygdrive as it is not a cygwin application. Some googling tells me one
needs to mount /cygdrive specially for mingw.

hth
Paavo
0 new messages