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

RE: [ace-users] Porting ACE to Interix (Microsoft Services For Unix)

0 views
Skip to first unread message

Frare, Steven A (Steven)

unread,
Nov 21, 2004, 10:37:07 PM11/21/04
to
Hi Johnny (and all):

I wanted to let you know my link problems was solved by adding the -frepo to CC flags as outlined in the G++ notes for ACE. Somehow I thought wrapper_macros.GNU would do that for me however I was mistaken!

All builds clean now (a couple of warnings about an if check that will always be false, should I forward those to the list?)

Next, on to the tests!

Thanks!
Steve

-----Original Message-----
From: owner-a...@cse.wustl.edu
[mailto:owner-a...@cse.wustl.edu]On Behalf Of Frare, Steven A
(Steven)
Sent: Tuesday, October 26, 2004 12:12 AM
To: Johnny Willemsen; ace-...@cs.wustl.edu
Subject: RE: [ace-users] Porting ACE to Interix (Microsoft Services For
Unix)


Hi Johnny:

I will upgrade ACE / TAO ASAP. I have already gone through the config-cygwin32.h file with a fine tooth comb, but after the upgrade maybe I am in for a few surprises!!

Thanks for the pointers!

Steve

-----Original Message-----
From: Johnny Willemsen [mailto:jwill...@remedy.nl]
Sent: Tuesday, October 26, 2004 12:06 AM
To: Frare, Steven A (Steven); ace-...@cs.wustl.edu
Subject: RE: [ace-users] Porting ACE to Interix (Microsoft Services For
Unix)


Hi,

> I did add the PRF...

Yes, at the end, please start with it always.

> Don't know if SRU is stable...

Use the x.4.2 release, the 1.3a version is really different than this x.4.2.
Probably a lot of issues are solved because Cygwin/MinGW support also
improved and I think this will help you with the Interix port

> Naming I can change, but doesn't really help the issue at hand.
>
> What defines would you suggest?

Look at the config-cygwin32.h file, that is also GCC. We are doing at this
moment already several ports, but our time is limited without sponsoring.

Regards,

Johnny Willemsen
Remedy IT
Leeghwaterstraat 25
2811 DT Reeuwijk
The Netherlands
www.theaceorb.nl / www.remedy.nl

Johnny Willemsen

unread,
Nov 22, 2004, 2:39:39 AM11/22/04
to
Hi Steven

> I wanted to let you know my link problems was solved by
> adding the -frepo to CC flags as outlined in the G++ notes
> for ACE. Somehow I thought wrapper_macros.GNU would do that
> for me however I was mistaken!

Maybe add repo=1 to the platform file you are making, then it should be done
automatically, but I have to say I find this strange. Implicit templates
should work also.



> All builds clean now (a couple of warnings about an if check
> that will always be false, should I forward those to the list?)

Yes, please send unified diffs with some background info, then we can have a
look and commit if we agree.

Johnny


Frare, Steven A (Steven)

unread,
Nov 22, 2004, 9:37:52 PM11/22/04
to
Hi Johnny:

The warnings are generated not from code changes I made but simply exist (at least on this Interix platform....)

Here is the compiler output, I upgraded ACE / TAO as you suggested and am using ACE-5.4+TAO-1.4 now.

% make static_libs_only=1
SOCK_Dgram.cpp: In member function `ssize_t ACE_SOCK_Dgram::send(const iovec*,
int, const ACE_Addr&, int) const':
SOCK_Dgram.cpp:332: warning: comparison of unsigned expression < 0 is always
false
SOCK_Dgram.cpp: In member function `ssize_t ACE_SOCK_Dgram::recv(iovec*, int,
ACE_Addr&, int) const':
SOCK_Dgram.cpp:381: warning: comparison of unsigned expression < 0 is always
false

I did make changes to three files, Sock_Connect.cpp, Sock_Dgram.cpp (but not in the above methods) and SOCK_Dgram_Bcast.cpp. Once I get the tests working and passed I will diff the changes and send them out to you for review.

Thanks Again!
Steve


-----Original Message-----
From: Johnny Willemsen [mailto:jwill...@remedy.nl]
Sent: Sunday, November 21, 2004 11:31 PM
To: Frare, Steven A (Steven); ace-...@cs.wustl.edu
Subject: RE: [ace-users] Porting ACE to Interix (Microsoft Services For
Unix)

0 new messages