Ok, suppose, i have build glibc using that option configured with --prefix=/usr/i586 How can i link new binaries with libraries at /usr/i586/lib and /usr/i586/usr/lib and without libraries at /lib and /usr/lib? if i just pass "-L/usr/i586/lib -L/usr/i586/usr/lib" to the compiler and linker will it work? (i'm building static binaries) Agri On Wed, 27 Aug 2003 12:52:15 +0200 Robert Schiele <rschiele@xxxxxxxxxxxxxxx> wrote: > On Wed, Aug 27, 2003 at 10:47:37AM +0400, Agri wrote: > > I have native gcc on my i686. > > Now i want to build some binaries for i585 because > > i got SIGILL with i686 binaries. > > Can i do that with native i686 compiler just using -mcpu=i586 or should i build a cross-compiler. > > -march=i586 > > Robert > > -- > Robert Schiele Tel.: +49-621-181-2517 > Dipl.-Wirtsch.informatiker mailto:rschiele@xxxxxxxxxxxxxxx >