From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <8b7a5b00e36943cf86c5b23e1f877959@hera.eonet.ne.jp> References: <326364c20912300040j2b5b960akd24bf52dbfe9574a@mail.gmail.com> <8b7a5b00e36943cf86c5b23e1f877959@hera.eonet.ne.jp> Date: Wed, 30 Dec 2009 17:34:05 -0800 Message-ID: <3e1162e60912301734heffa0f2re15cc3999500c13@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd5995c2de470047bfc40a7 Subject: Re: [9fans] where does drawterm get bufimage? Topicbox-Message-UUID: b3f0dfd4-ead5-11e9-9d60-3106f5b1d025 --000e0cd5995c2de470047bfc40a7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Dec 30, 2009 at 5:23 PM, wrote: > > gcc -o drawterm main.o cpu.o readcons.o secstore.o latin1.o > > > > That fails on OS X 10.6, > > You need to add -m32 option to gcc for OXS 10.6. > Oh, boy, I'm just a newbie to OSX world.=E2=98=BA > > Kenji > > > Depends actually. If you're on a 32bit Intel, I think without -m32 you'r= e probably ok, but it's best to be safe. Note you don't need to be running the 64bit kernel to get the 64bit binarie= s to work either. In fact, I'm not sure I'd recommend the 64bit kernel unles= s your machine boots to it on it's own. Dave --000e0cd5995c2de470047bfc40a7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Wed, Dec 30, 2009 at 5:23 PM, <kokamoto@hera.= eonet.ne.jp> wrote:
> gcc =C2=A0-o drawterm main.o cpu.o readcons.o secstore.o latin1.o
>
> That fails on OS X 10.6,

You need to add -m32 option to gcc for OXS 10.6.
Oh, boy, I'm just a newbie to OSX world.=E2=98=BA

Kenji


Depends actually. =C2=A0If you're on a 32bit Inte= l, I think without -m32 you're probably ok, but it's best to be saf= e.

Note you don't need to be running the 64bit= kernel to get the 64bit binaries to work either. =C2=A0In fact, I'm no= t sure I'd recommend the 64bit kernel unless your machine boots to it o= n it's own.

Dave=C2=A0

--000e0cd5995c2de470047bfc40a7--