> 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