Results 1 to 7 of 7

Thread: Ice Embedded with mingw?

  1. #1
    tjorven is offline Registered User
    Name: Jakob Eriksson
    Organization: Mediasolutions AB
    Project: Media content distribution
    Join Date
    Jun 2008
    Posts
    7

    Ice Embedded with mingw?

    I think there is a case for Ice Embedded support for mingw. If there was support (or it sort of worked, at least), we could cross compile the windows releases from our linux build environment. This would ease the development cycle a lot for us.

    ICE Embedded should also be more portable than ICE, right? I hacked together an ugly patch and managed to build Ice Embedded with a mingw cross toolchain. It took maybe an hour to do the evil hackery.
    Attached Files Attached Files

  2. #2
    tjorven is offline Registered User
    Name: Jakob Eriksson
    Organization: Mediasolutions AB
    Project: Media content distribution
    Join Date
    Jun 2008
    Posts
    7
    Obviously the missing imports could be solved a bit less messy by dynamically loading the offending DLL instead of resorting to archaic srand() and friends. But anyway... would be GREAT to get some response from the ICE powers that be on this topic.

  3. #3
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Without commercial interest I don't think we would support such a build. If you are interested in commercially supporting a port to mingw, please contact us at sales@zeroc.com.

  4. #4
    tjorven is offline Registered User
    Name: Jakob Eriksson
    Organization: Mediasolutions AB
    Project: Media content distribution
    Join Date
    Jun 2008
    Posts
    7

    No, support, just kinda works then?

    Would you accept patches (assuming you like them, of course) to build IceE under Mingw? And it of works, just like you do not support building Ice 3.3 under Ubuntu 6.06, bit it also kind of works.

    If you don't accept patches it's not a showstopper for me, I'll just maintain the patch internally, but it would possibly be good for ZeroC to get more mindshare in the GPL community. It's a win-win situation and ICE just plain rocks. You kill other proprietary competitors and at the same time the GPL junkies get's an excellent RPC library. (Thanks for the Objective C mapping by the way.)

  5. #5
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Jakob,

    We occasionally accept and integrate small patches for unsupported platforms.

    Naturally, we would only accept a patch of good quality. I looked briefly at your patch and I see immediately a number of issues:
    - if you want to add support for a new platform, you need to add a new Make.rules.<platform> file, not hack an existing one.
    - if you want to add support for a new compiler on an existing platform, you should modify the Make.rules.<platform>. However don't "hack" it: the default compiler file for that platform should still work after applying the patch
    - likewise in the code, use proper ifdefs -- the code must continue to work with other platforms/compilers
    - if a new code path is needed, like the UUID generation in your patch, it needs to be very clean (e.g. no local statics) and explained/justified. BTW I don't think you can generate unique UUIDs using a pseudo random number generator.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  6. #6
    tjorven is offline Registered User
    Name: Jakob Eriksson
    Organization: Mediasolutions AB
    Project: Media content distribution
    Join Date
    Jun 2008
    Posts
    7

    Ok then

    Of course, my patch was called "evil hackery", and would have been very disappointed if you had accepted a patch resembling anything like it. ... :-)

    But then I will create a "good" patch and let you have a look at it. Should I just post it here when I am done, or is there some other accepted way of submitting patches?

    Thanks for the fast replies in this matter.

  7. #7
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Jakob,

    Please post your patch(es) on these forums. Depending on the patch, we may also contact you (by email) to get a copyright assignment before we incorporate the patch into Ice or Ice-E.

    Also, we will release soon a new version of Ice-E, with many improvements. It's very possible that other changes will be needed to compile this new Ice-E with mingw, so it would make sense to wait until after this release to create a proper patch.

    Thanks,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Does ice support MinGW?
    By lionel in forum Help Center
    Replies: 27
    Last Post: 05-06-2011, 03:29 AM
  2. Embedded Ice
    By Banjo in forum Help Center
    Replies: 2
    Last Post: 10-07-2009, 06:24 PM
  3. Error using Makefile with Eclipse with MinGW
    By peter in forum Help Center
    Replies: 1
    Last Post: 04-30-2009, 06:25 AM
  4. do you have plan that's port ice to embedded system?
    By damingyipai in forum Comments
    Replies: 3
    Last Post: 07-27-2004, 11:04 PM
  5. Ice on an embedded platform (status report)
    By rbx in forum Help Center
    Replies: 3
    Last Post: 01-16-2004, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •