Maybe off topic? 1: echo "int main(void) { return 0; }" > t.c
2: setenv LDEMULATION elf_i386_fbsd 3: gcc -c -m32 -o t.o t.c 4: gcc -nostartfiles -o a.out t.o -L/usr/lib32 /usr/lib32/crt1.o /usr/lib32/crti.o 5: file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.2, not stripped 6: uname -m amd64 2: q.v. info binutils -> Selecting The Target System Maybe there is a more comfortable way. Michael Am Tuesday 23 August 2011 09:46:11 schrieb Edho Arief: > On Tue, Aug 23, 2011 at 2:26 PM, noel beck <nb...@hobsoft.com.mt> wrote: > > We are trying to compile i386 on a FreeBSD 8.2r amd64. > > we are getting an error stating that libstdc++.so.6, is missing. > > COMPACT6x and COMPACT7x have been installed. But this does not solve the > > problem. > > Is it possible to compile i386 on and amd64 system? > > I believe compiler flags to /lib32 is required (-L/usr/lib32 or something) > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"