Discussion:
cygwin and mico
Mark Richardson
2010-12-10 02:51:40 UTC
Permalink
Had some issues with compiling mico on cygwin - specifically the gettimeofday() function and wstrings.  I saw the emails on  6/29/2007 about the lack of wide character support and was wondering if mico has been compiled successfully on a recent delivery.

Thanks,
Mark
Karel Gardas
2010-12-10 08:18:13 UTC
Permalink
Hi Mark,

cygwin related emails come here and there, but still nobody comes in to
really complete cygwin support. As cygwin support is not that good now,
I'm quite open to merge any patch making it only a little bit better --
assuming this does not break standard [Win32|Win64]/VC++ build nor any
Unix build.
If you do any changes/fixes, please send me them for review/merge.

Thanks,
Karel
Had some issues with compiling mico on cygwin - specifically the gettimeofday() function and wstrings. I saw the emails on 6/29/2007 about the lack of wide character support and was wondering if mico has been compiled successfully on a recent delivery.
Thanks,
Mark
------------------------------------------------------------------------------
_______________________________________________
Mico-devel mailing list
https://lists.sourceforge.net/lists/listinfo/mico-devel
--
Karel Gardas ***@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com

------------------------------------------------------------------------------
Tomás Staig
2010-12-10 12:39:10 UTC
Permalink
Hi,
I use Mico 2.3.13 with Cygwin (well, the interface repository only, but
compiled everything) and only had to change:

--- ../PRODUCTS/os-misc.h 2010-08-24 14:25:43.218750000 -0300
+++ ../PRODUCTS/mico/include/mico/os-misc.h 2010-08-24
14:25:55.203125000 -0300
@@ -288,9 +288,9 @@
#include <sys/types.h>
#include <sys/time.h>

-#ifdef __CYGWIN32__
-extern "C" int gettimeofday (struct timeval *, struct timezone *);
-#endif

struct OSMisc {
typedef long long longlong;



Which is pretty much your problem with gettimeofday...
For your wide string support I'm not sure but if I remember right it is
only supported for gcc (or g++) 4.x.x versions... so if you're using
3.x.x that's probably the problem.

Other changes I made were (probably because of my compiler version):
- A problem with TK_RECURSIVE = 0xffffffff ... which I know it's already
fixed in later versions of MICO on the repository. But if you use 2.3.13
you will have to check this before executing stuff.
- Added limits.h include in:
--- mico/orb/fast_array.cc 2008-07-25 15:41:43.000000000 +0200
+++ acs-mico/orb/fast_array.cc 2010-06-28 19:48:43.000000000 +0200
@@ -37,6 +37,7 @@

#include <CORBA-SMALL.h>
#include <mico/impl.h>
+#include <limits.h>

#endif // FAST_PCH

And that's pretty much it. Hope it works for you.

Cheers,
Tomas.
Post by Karel Gardas
Hi Mark,
cygwin related emails come here and there, but still nobody comes in to
really complete cygwin support. As cygwin support is not that good now,
I'm quite open to merge any patch making it only a little bit better --
assuming this does not break standard [Win32|Win64]/VC++ build nor any
Unix build.
If you do any changes/fixes, please send me them for review/merge.
Thanks,
Karel
Had some issues with compiling mico on cygwin - specifically the gettimeofday() function and wstrings. I saw the emails on 6/29/2007 about the lack of wide character support and was wondering if mico has been compiled successfully on a recent delivery.
Thanks,
Mark
------------------------------------------------------------------------------
_______________________________________________
Mico-devel mailing list
https://lists.sourceforge.net/lists/listinfo/mico-devel
------------------------------------------------------------------------------
Loading...