Re: About 32bit binary on amd64

2010-07-07 Thread Anonymous
Kostik Belousov kostik...@gmail.com writes: On Mon, May 24, 2010 at 06:58:56PM +0900, Kohji Okuno wrote: Thank you for your comments. In my usage, it works good by the patch appended to this mail. The patch is probably a start in the right direction. But, it would be much better to install

Re: About 32bit binary on amd64

2010-05-24 Thread pluknet
On 24 May 2010 08:49, Kohji Okuno okuno.ko...@jp.panasonic.com wrote: Hi all, I want to compile 32bit binary on amd64, but I met with the problem. Could you teach me the best solution, please? My environment is FreeBSD 8.1-PRERELEASE #0: Tue May 18 12:01:26 JST 2010. I compiled and

Re: About 32bit binary on amd64

2010-05-24 Thread Kohji Okuno
Thank you for your comments. In my usage, it works good by the patch appended to this mail. On May 24, 2010, at 2:49 AM, pluknet wrote: On 24 May 2010 08:49, Kohji Okuno okuno.ko...@jp.panasonic.com wrote: Hi all, I want to compile 32bit binary on amd64, but I met with the problem.

Re: About 32bit binary on amd64

2010-05-24 Thread Kostik Belousov
On Mon, May 24, 2010 at 06:58:56PM +0900, Kohji Okuno wrote: Thank you for your comments. In my usage, it works good by the patch appended to this mail. The patch is probably a start in the right direction. But, it would be much better to install sys/i386/include to e.g. /usr/include/machine32

Re: About 32bit binary on amd64

2010-05-24 Thread Garrett Cooper
On May 24, 2010, at 2:49 AM, pluknet wrote: On 24 May 2010 08:49, Kohji Okuno okuno.ko...@jp.panasonic.com wrote: Hi all, I want to compile 32bit binary on amd64, but I met with the problem. Could you teach me the best solution, please? My environment is FreeBSD 8.1-PRERELEASE #0: Tue

About 32bit binary on amd64

2010-05-23 Thread Kohji Okuno
Hi all, I want to compile 32bit binary on amd64, but I met with the problem. Could you teach me the best solution, please? My environment is FreeBSD 8.1-PRERELEASE #0: Tue May 18 12:01:26 JST 2010. I compiled and executed test.c as below on amd64. -- begin -- test.c