Re: -m32 on freeBSD 8.2r amd64

2011-08-24 Thread Kostik Belousov
On Wed, Aug 24, 2011 at 01:57:02PM +0100, Tom Evans wrote: > On Wed, Aug 24, 2011 at 12:11 PM, Michael Hoffmann wrote: > > 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 -nostartfile

Re: -m32 on freeBSD 8.2r amd64

2011-08-24 Thread Tom Evans
On Wed, Aug 24, 2011 at 12:11 PM, Michael Hoffmann wrote: > 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

Re: -m32 on freeBSD 8.2r amd64

2011-08-24 Thread Michael Hoffmann
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), dy

Re: -m32 on freeBSD 8.2r amd64

2011-08-23 Thread Edho Arief
On Tue, Aug 23, 2011 at 2:26 PM, noel beck 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 an

-m32 on freeBSD 8.2r amd64

2011-08-23 Thread noel beck
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? -- View this message in context: http://fre