This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libtool and -lm path


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Allen Curtis wrote:
> Hello,
> 
> I am sure this is a problem that has been solved many times by members
> of this group.
> 
> I am trying to cross compile a library (libusb) and libtool is trying
> to link with the math library in /usr/lib. What is the fix for this
> problem?
> 
> Many thanks in advance.

There are several buildsystem that have fixed the problem. Use
openembedded, ptxdist, buildroot....

Cheers, Marc

P.S.: If you really want to do this on your own, this might help:

    find -name "ltmain.sh" -a -type f | while read file; do
 	sed -i -e "s:\(need_relink\)=yes:\1=\"no\":" "${file}" || return
    done

- --
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkw+qSAACgkQjTAFq1RaXHOH7gCfV/Zn/JddhA0S6YyCeigeTHIo
SpgAoIJm+hFW+V70THE68d1i4nqBtvnA
=bJu/
-----END PGP SIGNATURE-----

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]