Re: linking 32 bit libdar to a 64 bit application on AIX 64 bit platform
Thomas Jacob <[email protected]> Mon, 12 Jan 2009 12:10:04 +0100
| Newsgroups | gmane.comp.sysutils.backup.dar.libdar |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2009-01-07 at 01:01 +0530, Sivakumar Selvam wrote: > Hi, > Is it possible to link the 32 bit libdar library with a 64 bit > application on 64 bit AIX platform? I don't know about AIX, but in Linux for instance, that's not possible, easy to understand really, when you consider that the size of some data types changes, but the libraries calling each other don't know that. Remember that shared libraries usually do not contain any information about function call parameters, just the start addresses of the functions. So when one library pushes a 32 bit number onto the stack and another tries to read a 64 bit number, there will be trouble. > Can I compile libdar source code using -maix64 compiler option? > Since libdar uses libintl, > I need to compile the gettext and libiconv source codes using > -maix64. If some one has > already tried this, I would like to know your suggestion. > > > Thanks, > -Siva. > > > ______________________________________________________________________ > Unlimited freedom, unlimited storage. Get it now > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ Dar-libdar_api mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dar-libdar_api ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB