This is a discussion on GCC 4.0.0 and AIX 5.2 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Has anyone compiled this on the AIX platform? I'm running into the problem where GCC is asking for the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Has anyone compiled this on the AIX platform? I'm running into the problem where GCC is asking for the libm.a file and of course it doesn't exist. How do I get around this, it would seem like AIX isn't shipped with a math library - but GCC seems to need it to compile. |
| |||
| "Eigenvector" <m44_master@yahoo.com> writes: > Has anyone compiled this on the AIX platform? I'm running into the problem > where GCC is asking for the libm.a file and of course it doesn't exist. I don't know any AIX distribution that *doesn't* have /usr/lib/libm.a Are you sure it doesn't exist on yours? Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| |||
| On 2005-06-04, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote: > "Eigenvector" <m44_master@yahoo.com> writes: >> where GCC is asking for the libm.a file and of course it doesn't exist. > I don't know any AIX distribution that *doesn't* have /usr/lib/libm.a Is bos.adt.libm installed on your machine? libm does not get installed in the standard AIX BOS installation. -Andy |
| |||
| Eigenvector <m44_master@yahoo.com> wrote: > Has anyone compiled this on the AIX platform? Yes. > I'm running into the problem > where GCC is asking for the libm.a file and of course it doesn't exist. Why "of course"? AIX may be a bit quirky, but if you're missing libm, it's not AIX's fault, but yours. > How do I get around this, Install the appropriate BOS package. > it would seem like AIX isn't shipped with a math library Nonsense: $ which_fileset /usr/lib/libm.a /usr/lib/libm.a -> /usr/ccs/lib/libm.a bos.adt.libm 5.1.0.0 Martin. -- Remember to always speak softly. But carry a big stick! |
| |||
| "Andy Wallis" <rawallis@panix.com> wrote in message news:slrnda4gjl.oaj.rawallis@panix2.panix.com... > On 2005-06-04, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote: > > "Eigenvector" <m44_master@yahoo.com> writes: > >> where GCC is asking for the libm.a file and of course it doesn't exist. > > I don't know any AIX distribution that *doesn't* have /usr/lib/libm.a > Is bos.adt.libm installed on your machine? libm does not get installed > in the standard AIX BOS installation. > -Andy > Where is that BOS located? Is it on the install CD, which one if you know please. |
| |||
| In article <kHEoe.11$S37.3793@news.uswest.net>, "Eigenvector" <m44_master@yahoo.com> writes: > > "Andy Wallis" <rawallis@panix.com> wrote in message > news:slrnda4gjl.oaj.rawallis@panix2.panix.com... > > On 2005-06-04, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote: > > > "Eigenvector" <m44_master@yahoo.com> writes: > > >> where GCC is asking for the libm.a file and of course it doesn't exist. > > > I don't know any AIX distribution that *doesn't* have /usr/lib/libm.a > > Is bos.adt.libm installed on your machine? libm does not get installed > > in the standard AIX BOS installation. > > -Andy > > > Where is that BOS located? Is it on the install CD, which one if you know > please. > > Insert the 1st CD of your distribution, use the smitty-Installation menus (the uppermost), at "SOFTWARE to install" press F4 to get a list of all SW on the CD set, use F7 to select the bos.adt* stuff and install. |
| |||
| It doesn't have it if you don't install bos.adt.libm JaYmZ "Paul Pluzhnikov" <ppluzhnikov-nsp@charter.net> wrote in message news:m3psv1sn2p.fsf@amoeba.parasoft.com... > "Eigenvector" <m44_master@yahoo.com> writes: > > > Has anyone compiled this on the AIX platform? I'm running into the problem > > where GCC is asking for the libm.a file and of course it doesn't exist. > > I don't know any AIX distribution that *doesn't* have /usr/lib/libm.a > Are you sure it doesn't exist on yours? > > Cheers, > -- > In order to understand recursion you must first understand recursion. > Remove /-nsp/ for email. |
| |||
| "Michael Kraemer" <m.kraemer@gsi.de> wrote in message news:d81d4t$v3e$1@lnx107.hrz.tu-darmstadt.de... > In article <kHEoe.11$S37.3793@news.uswest.net>, "Eigenvector" <m44_master@yahoo.com> writes: > > > > "Andy Wallis" <rawallis@panix.com> wrote in message > > news:slrnda4gjl.oaj.rawallis@panix2.panix.com... > > > On 2005-06-04, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote: > > > > "Eigenvector" <m44_master@yahoo.com> writes: > > > >> where GCC is asking for the libm.a file and of course it doesn't exist. > > > > I don't know any AIX distribution that *doesn't* have /usr/lib/libm.a > > > Is bos.adt.libm installed on your machine? libm does not get installed > > > in the standard AIX BOS installation. > > > -Andy > > > > > Where is that BOS located? Is it on the install CD, which one if you know > > please. > > > > > > Insert the 1st CD of your distribution, > use the smitty-Installation menus (the uppermost), > at > "SOFTWARE to install" > press F4 to get a list of all SW on the CD set, > use F7 to select the bos.adt* stuff and install. I appreciate the pointers here, and I realize that this question has come up multiple times. I'd like to hear the back story if you all know it - why is this not installed by default? Its on the CD, and clearly something important for the functioning of the system, so why not put it on with the rest of the OS libraries? |
| ||||
| In article <Tn5pe.35$ce4.3180@news.uswest.net>, "Eigenvector" <m44_master@yahoo.com> writes: > > I appreciate the pointers here, and I realize that this question has come up > multiple times. > > I'd like to hear the back story if you all know it - why is this not > installed by default? Its on the CD, and clearly something important for > the functioning of the system, so why not put it on with the rest of the OS > libraries? > By default only a very minimal system is unstalled. libm.a contains math stuff like sin(), cos(), sqrt() and maybe IBM thinks that this isn't really necessary for a minimal functioning system. |