FreeBSD 8.2r amd 64 problem when compiling 32bit applications

2011-08-25 Thread noel beck
I installed FreeBSD 8.2 release on a 64-bit machine (amd64) and it has gcc 4.2.1 built in. The library directories are lib, lib32 and lib64. When I compiled for 64-bit the compilation was successful. However, the problem is when I am compiling for 32-bit on this 64-bit machine. We are getting

Re: FreeBSD 8.2r amd 64 problem when compiling 32bit applications

2011-08-25 Thread Ivan Voras
On 25/08/2011 15:28, noel beck wrote: The following is the example of the error when compiling in 32-bit on a 64-bit machine: [gsaid@Bruno ~]$ gcc -m32 -o hello hello.c I don't think -m32 is supported at all. ___ freebsd-stable@freebsd.org

Re: FreeBSD 8.2r amd 64 problem when compiling 32bit applications

2011-08-25 Thread Tom Evans
On Thu, Aug 25, 2011 at 2:28 PM, noel beck nb...@hobsoft.com.mt wrote: I installed FreeBSD 8.2 release on a 64-bit machine (amd64) and it has gcc 4.2.1 built in.  The library directories are lib, lib32 and lib64.  When I compiled for 64-bit the compilation was successful. However, the problem

Re: FreeBSD 8.2r amd 64 problem when compiling 32bit applications

2011-08-25 Thread Jeremy Chadwick
On Thu, Aug 25, 2011 at 06:28:18AM -0700, noel beck wrote: I installed FreeBSD 8.2 release on a 64-bit machine (amd64) and it has gcc 4.2.1 built in. The library directories are lib, lib32 and lib64. When I compiled for 64-bit the compilation was successful. However, the problem is when I