On Fri, Mar 11, 2005 at 09:24:22AM -0500, Shane O'Donnell wrote:
> Have you messed with "-march" at all?

I've tried -march=i386.  Compiles, but still generates the ld errors.

> 
> Also, you might try a "ld -V" to see what emulations are available to you,
> then try "-m"-ing with one of them as appropriate...

ld -V
GNU ld version 2.15.92.0.2 20040927
  Supported emulations:
   elf_x86_64
   elf_i386
   i386linux

I tried passing this to the linker with:

CFLAGS='-O2 -m32 -Xlinker -melf_i386' ./configure --prefix=/usr/local/ 
--target=i686-pc-linux-gnu

which is accepted, but I still get the ld errors as before.  If I set it to 
i386linux, configure fails:
configure:1985: checking for C compiler default output file name
configure:1988: gcc -O2 -m32 -Xlinker -mi386linux   conftest.c  >&5
/usr/bin/ld: unrecognized option '--eh-frame-hdr'

Thanks,
Brian

-- 
Question with boldness even the existence of a god;
because if there be one he must approve of the
homage of reason more than that of blindfolded fear.

--Thomas Jefferson, Aug. 10, 1787


Brian Daniels                  [EMAIL PROTECTED]
      http://www.eviloverlord.net

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to