Results 1 to 8 of 8

Thread: autotools patch ... what do you think?

  1. #1
    peter.s is offline Registered User
    Join Date
    Mar 2004
    Posts
    12

    autotools patch ... what do you think?

    A colleague of mine thinks about integrating the autotools framework (automake, autoconf, ...) ... the quasi standard "./configure && make && make install" procedure ... into the Ice package to make it more cross-platform compatible

    Would you (perhaps) accept a patch which automake'ifies the whole Ice package?
    (Provided it works)

    cheers,
    Peter

  2. #2
    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 Peter,

    We intend to keep our simple gmake-based build system on Unix/Linux. Autoconf etc would add too much complication.

    Cheers,
    Bernard

  3. #3
    marlowa is offline Registered User
    Join Date
    Feb 2003
    Location
    London
    Posts
    64
    Originally posted by bernard
    Hi Peter,
    We intend to keep our simple gmake-based build system on Unix/Linux. Autoconf etc would add too much complication.

    Cheers,
    Bernard
    Maybe you would consider using jam by perforce? It is a multi-platform open source replacement for make. See http://www.perforce.com/jam/jam.html for details.

    Regards,

    Andrew Marlow.
    You are in a maze of twisty little passages, all different.

  4. #4
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Hi Andrew,

    Jam looks good, I agree. What worries me though is that this would add yet another dependency on a third-party package to Ice. This means more testing effort for us, because we'd have to make sure things still work across different versions as they are released, and it adds yet another obstacle to our customers getting started with Ice.

    I agree that the current build system isn't as elegant as it could be but, to be honest, before I'd consider changing the build system, I'd first have to find something that absolutely can't be done using the build system we have already.

    Cheers,

    Michi.

  5. #5
    ChrisWhite is offline Registered User
    Join Date
    Nov 2006
    Posts
    4
    Can you explain the basis on what you consider to be complication? I can rewrite most of those basic makefiles using Makefile.am's in about 3 lines. configure.in could replace most of the logic in the config/ subdirectory, and do it with proven methods of correctly determining when to use -fPIC for libraries and if you should use -fPIC at all (some platforms use -KPIC for example.
    Chris White
    Gentoo Linux http://www.gentoo.org

  6. #6
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    I used autoconf extensively for a former project. Based on these experiences, I decided not to use it again. It would be difficult and very time consuming for me to explain all the details, but let's just say that the complexity of using autoconf was just plain crazy for anything but trivial projects.

    In any case, you are of course free to give it a try!

    By the way, here is a post from one of our users:

    http://www.zeroc.com/vbulletin/showthread.php?t=24

    This pretty much reflects my opinion as well.

  7. #7
    ChrisWhite is offline Registered User
    Join Date
    Nov 2006
    Posts
    4
    Well, I was looking about some to improve the current makefiles (could use some touches here and there), and I thought about cross compilation. What sort of methods do we have to support the setting of --host/--build/--target for gcc? How would cross-compiling work essentially (ie. building for a linux i386 on a sparc running solaris)?
    Chris White
    Gentoo Linux http://www.gentoo.org

  8. #8
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    I'm sorry, but we do not support cross-compilation.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cannot patch protobuf.patch
    By joelihn in forum Help Center
    Replies: 3
    Last Post: 09-08-2008, 10:24 AM
  2. Ice.Patch.Application and Ice.Patch.Server
    By richardma in forum Help Center
    Replies: 1
    Last Post: 11-15-2007, 09:52 AM
  3. Autotools Porting
    By ChrisWhite in forum Comments
    Replies: 3
    Last Post: 11-02-2006, 02:12 PM
  4. Replies: 1
    Last Post: 08-01-2006, 06:26 AM

Posting Permissions

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