Re: rpmbuild macro for libgcc.a location?
On Sat, Oct 10, 2009 at 11:19 AM, Mitch Bradley wrote: > Jordan Crouse already told me the magic trick: > > LIBGCC=`$(CC) -print-libgcc-file-name` > > I thought I had already pushed that change up but maybe I forgot to. Ah, excellent. Thanks! Yes, you did apply it on the master branch. I was making sure my "old" code compiled and worked on F11, and now it does. Next step: merge to your latest. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: rpmbuild macro for libgcc.a location?
> Working on an OLPC package (olpc-bios-crypto, which has a reasonable > chance of being upstreamable when it stabilizes)... we keep appending > -L lines to make it build in different releases / distros. > > Is there an rpm macro that points to the location of libgcc.a? Or an > elegant way to get it? (While avoiding autoconf and the like...) > > For example, for F11 I am adding: -L/usr/lib/gcc/i586-redhat-linux/4.4.1/ > > Jordan Crouse already told me the magic trick: LIBGCC=`$(CC) -print-libgcc-file-name` I thought I had already pushed that change up but maybe I forgot to. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
rpmbuild macro for libgcc.a location?
Working on an OLPC package (olpc-bios-crypto, which has a reasonable chance of being upstreamable when it stabilizes)... we keep appending -L lines to make it build in different releases / distros. Is there an rpm macro that points to the location of libgcc.a? Or an elegant way to get it? (While avoiding autoconf and the like...) For example, for F11 I am adding: -L/usr/lib/gcc/i586-redhat-linux/4.4.1/ cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel