Re: linking 32 bit libdar to a 64 bit application on AIX 64 bit platform

Sivakumar Selvam <[email protected]> Wed, 14 Jan 2009 13:59:45 +0530 (IST)
Newsgroups gmane.comp.sysutils.backup.dar.libdar
Message-ID <[email protected]>
--===============8482127829718516831==
Content-Type: multipart/alternative; boundary="0-1438089225-1231921785=:78859"

--0-1438089225-1231921785=:78859
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thanks for your reply. This help me to understand the dependency issues acr=
oss 32/64 bit libraries.=0AI want to know the other one which has to do wit=
h compiling libdar in 64 bit OS. I don't know whether =0AI can compile the =
libdar source code with -maix64 during compile time and add -X64 during cre=
ation =0Aof libraries. During libdar compilation, I used 64 bit lintl lib w=
hich is part of  gettext open source code. =0AI modified the makefiles of g=
ettext and libiconv to get into 64 bit mode. Did any one knows about 64 bit=
 =0Alibdar creation in AIX? Can I use -maix64 compilation flag? Please help=
 me.=0A=0A=0AThanks,=0A-Siva=0A=0A=0A=0A=0A=0A=0A__________________________=
______=0AFrom: Thomas Jacob <[email protected]>=0ATo: "Area available for=
 the evolution, usage, support, feature requests, concerning the libdar API=
 (application Interface)" <[email protected]>=0ASent: Mo=
nday, 12 January, 2009 3:10:04 AM=0ASubject: Re: [Dar-libdar_api] linking 3=
2 bit libdar to a 64 bit application on AIX 64 bit platform=0A=0AOn Wed, 20=
09-01-07 at 01:01 +0530, Sivakumar Selvam wrote:=0A> Hi,=0A>     Is it poss=
ible to link the 32 bit libdar library with a 64 bit=0A> application on  64=
 bit AIX platform?=0A=0AI don't know about AIX, but in Linux for instance, =
that's not possible,=0Aeasy to understand really, when you consider that th=
e size of some data=0Atypes changes, but the libraries calling each other d=
on't know that.=0A=0ARemember that shared libraries usually do not contain =
any information=0Aabout function call parameters, just the start addresses =
of the=0Afunctions. So when one library pushes a 32 bit number onto the=0As=
tack and another tries to read a 64 bit number, there will be trouble.=0A=
=0A=0A>     Can I compile libdar source code using -maix64 compiler option?=
=0A> Since libdar uses libintl,=0A>     I need to compile the gettext and l=
ibiconv source codes using=0A> -maix64. If some one has=0A>     already tri=
ed this, I would like to know your suggestion.=0A>  =0A>  =0A> Thanks,=0A> =
-Siva.=0A> =0A> =0A> ______________________________________________________=
________________=0A> Unlimited freedom, unlimited storage. Get it now=0A> -=
---------------------------------------------------------------------------=
--=0A> Check out the new SourceForge.net Marketplace.=0A> It is the best pl=
ace to buy or sell services for=0A> just about anything Open Source.=0A> ht=
tp://p.sf.net/sfu/Xq1LFB=0A> ______________________________________________=
_ Dar-libdar_api mailing list [email protected] https://=
lists.sourceforge.net/lists/listinfo/dar-libdar_api=0A=0A=0A---------------=
---------------------------------------------------------------=0ACheck out=
 the new SourceForge.net Marketplace.=0AIt is the best place to buy or sell=
 services for=0Ajust about anything Open Source.=0Ahttp://p.sf.net/sfu/Xq1L=
FB=0A_______________________________________________=0ADar-libdar_api maili=
ng list=0ADar-libdar_api-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org=0Ahttps://lists.sourceforge.=
net/lists/listinfo/dar-libdar_api=0A=0A=0A=0A      Add more friends to your=
 messenger and enjoy! Go to http://messenger.yahoo.com/invite/
--0-1438089225-1231921785=:78859
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:times new roman,new york,times,serif;fon=
t-size:12pt">Thanks for your reply. This help me to understand the dependen=
cy issues across 32/64 bit libraries.<br>I want to know the other one which=
 has to do with compiling libdar in 64 bit OS. I don't know whether <br>I c=
an compile the libdar source code with -maix64 during compile time and add =
-X64 during creation <br>of libraries. During libdar compilation, I used 64=
 bit lintl lib which is part of&nbsp; gettext open source code. <br>I modif=
ied the makefiles of gettext and libiconv to get into 64 bit mode. Did any =
one knows about 64 bit <br>libdar creation in AIX? Can I use -maix64 compil=
ation flag? Please help me.<br><br><div>Thanks,<br>-Siva <br></div><div><di=
v><br></div><div style=3D"font-family: times new roman,new york,times,serif=
; font-size: 12pt;"><br><div style=3D"font-family:
 arial,helvetica,sans-serif; font-size: 10pt;"><font size=3D"2" face=3D"Tah=
oma"><hr size=3D"1"><b><span style=3D"font-weight: bold;">From:</span></b> =
Thomas Jacob &lt;[email protected]&gt;<br><b><span style=3D"font-weight: =
bold;">To:</span></b> "Area available for the evolution, usage, support, fe=
ature requests, concerning the libdar API (application Interface)" &lt;dar-=
[email protected]&gt;<br><b><span style=3D"font-weight: bold=
;">Sent:</span></b> Monday, 12 January, 2009 3:10:04 AM<br><b><span style=
=3D"font-weight: bold;">Subject:</span></b> Re: [Dar-libdar_api] linking 32=
 bit libdar to a 64 bit application on AIX 64 bit platform<br></font><br>On=
 Wed, 2009-01-07 at 01:01 +0530, Sivakumar Selvam wrote:<br>&gt; Hi,<br>&gt=
;&nbsp; &nbsp;  Is it possible to link the 32 bit libdar library with a 64 =
bit<br>&gt; application on&nbsp; 64 bit AIX platform?<br><br>I don't know a=
bout AIX, but in Linux for instance, that's not possible,<br>easy to unders=
tand
 really, when you consider that the size of some data<br>types changes, but=
 the libraries calling each other don't know that.<br><br>Remember that sha=
red libraries usually do not contain any information<br>about function call=
 parameters, just the start addresses of the<br>functions. So when one libr=
ary pushes a 32 bit number onto the<br>stack and another tries to read a 64=
 bit number, there will be trouble.<br><br> <br>&gt;&nbsp; &nbsp;  Can I co=
mpile libdar source code using -maix64 compiler option?<br>&gt; Since libda=
r uses libintl,<br>&gt;&nbsp; &nbsp;  I need to compile the gettext and lib=
iconv source codes using<br>&gt; -maix64. If some one has<br>&gt;&nbsp; &nb=
sp;  already tried this, I would like to know your suggestion.<br>&gt;&nbsp=
; <br>&gt;&nbsp; <br>&gt; Thanks,<br>&gt; -Siva.<br>&gt; <br>&gt; <br>&gt; =
______________________________________________________________________<br>&=
gt; Unlimited freedom, unlimited storage. Get it now<br>&gt;
 --------------------------------------------------------------------------=
----<br>&gt; Check out the new SourceForge.net Marketplace.<br>&gt; It is t=
he best place to buy or sell services for<br>&gt; just about anything Open =
Source.<br>&gt; <a href=3D"http://p.sf.net/sfu/Xq1LFB" target=3D"_blank">ht=
tp://p.sf.net/sfu/Xq1LFB</a><br>&gt; ______________________________________=
_________ Dar-libdar_api mailing list <a ymailto=3D"mailto:Dar-libdar_api@l=
ists.sourceforge.net" href=3D"mailto:[email protected]">=
[email protected]</a> <a href=3D"https://lists.sourcefor=
ge.net/lists/listinfo/dar-libdar_api" target=3D"_blank">https://lists.sourc=
eforge.net/lists/listinfo/dar-libdar_api</a><br><br><br>-------------------=
-----------------------------------------------------------<br>Check out th=
e new SourceForge.net Marketplace.<br>It is the best place to buy or sell s=
ervices for<br>just about anything Open Source.<br><a
 href=3D"http://p.sf.net/sfu/Xq1LFB" target=3D"_blank">http://p.sf.net/sfu/=
Xq1LFB</a><br>_______________________________________________<br>Dar-libdar=
_api mailing list<br><a ymailto=3D"mailto:[email protected]=
net" href=3D"mailto:[email protected]">Dar-libdar_api@li=
sts.sourceforge.net</a><br><a href=3D"https://lists.sourceforge.net/lists/l=
istinfo/dar-libdar_api" target=3D"_blank">https://lists.sourceforge.net/lis=
ts/listinfo/dar-libdar_api</a><br></div></div></div></div><br>=0A      <!--=
6--><hr size=3D1></hr> Add more friends to your messenger and enjoy! <a hre=
f=3D"http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com=
/invite/"> Invite them now.</a></body></html>
--0-1438089225-1231921785=:78859--



--===============8482127829718516831==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
--===============8482127829718516831==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Dar-libdar_api mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dar-libdar_api

--===============8482127829718516831==--