NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: port-amd64/39691: libgcc is missing for gcc -m32 on amd64



The following reply was made to PR port-amd64/39691; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-amd64-maintainer%netbsd.org@localhost, 
gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost
Subject: re: port-amd64/39691: libgcc is missing for gcc -m32 on amd64 
Date: Mon, 06 Oct 2008 12:28:12 +1100

 FWIW, you can make this work by providing a correct netbsd/i386 /usr/lib
 directory (including making sure the symlinks that point to ../../lib/*
 work!) somewhere and passing -B/this/dir to gcc -m32.  do not pass it
 with a trailing / aka -B/this/dir/.
 
 i'm working on making this work by default for netbsd/amd64 having i386
 libraries in /usr/lib/i386, as meantioned way back in this thread:
 
 http://mail-index.netbsd.org/tech-toolchain/2001/08/13/0000.html
 
 i'm not yet sure how we will populate /usr/lib/i386 but the tricks to
 get gcc to DTRT are simple and i've got those working.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index