Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2010 11:12:16 -0700
From:      Yuri <yuri@rawbw.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Documentation on how to build 32bit applications on amd64?
Message-ID:  <4C658B00.4050901@rawbw.com>
In-Reply-To: <868w4av1hp.fsf@gmail.com>
References:  <4C656E8F.8090105@rawbw.com>	<20100813162429.GE18896@dan.emsphone.com> <4C65852B.807@rawbw.com> <868w4av1hp.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/13/2010 10:58, Anonymous wrote:
> I guess machine-dependent headers are involved.
>
>    $ cc -m32 -B/usr/lib32 a.c
>    $ ./a.out
>    match: off=0 so=3 eo=0
>    $ ln -s /usr/src/sys/i386/include machine
>    $ cc -m32 -B/usr/lib32 -isystem. a.c
>    $ ./a.out
>    match: off=0 so=3 eo=4
>    match: off=4 so=3 eo=4
>
> Same thing is happening for mmap()
>    http://docs.freebsd.org/cgi/mid.cgi?20100524.134955.2300883222251175323.okuno.kohji
>    

But what is the general solution for this problem? Symbolic link that 
you created only exists in one local directory.

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C658B00.4050901>