From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 15 Dec 2013 19:45:59 -0600 Message-ID: From: Blake McBride To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e0122f6ae4a389104ed9cf919 Subject: Re: [9fans] Compiling C under 9front Topicbox-Message-UUID: 9dd86480-ead8-11e9-9d60-3106f5b1d025 --089e0122f6ae4a389104ed9cf919 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Dec 15, 2013 at 7:33 PM, erik quanstrom wrote: > On Sun Dec 15 20:31:47 EST 2013, blake@mcbride.name wrote: > > > Greetings, > > > > I've got 9front running but I am having trouble compiling a hello.c > program. > > > > term% 6c hello.c > > term% 6l hello.6 > > ??none??: cannot open file: /amd64/lib/libc.a > > > > I already looked in google, the email list, and FAQ's that I could find. > > Your help is appreciated. > > cd /sys/src; objtype=amd64 mk libs > > - erik > > Thanks! It went through a bunch of compiles and library adds successfullybut ended in: ... a - utfutf.6 a - u16.6 a - u32.6 a - u64.6 amd64 Can't cd amd64: 'amd64' directory not found mk: for(i in 9sys ... : exit status=rc 1544: rc 2737: can't cd mk: date for (i ... : exit status=rc 1058: rc 1477: mk 1543: error term% --089e0122f6ae4a389104ed9cf919 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On S= un, Dec 15, 2013 at 7:33 PM, erik quanstrom <quanstro@labs.coraid.com> wrote:
On S= un Dec 15 20:31:47 EST 2013, blake@mc= bride.name wrote:

> Greetings,
>
> I've got 9front running but I am having trouble compiling a hello<= span id=3D"bd9a7b17-661c-4452-8d3e-a68ed19e4c0b" class=3D"GINGER_SOFTWARE_m= ark">.c program.
>
> term% 6c hello.c
> term% 6l hello.6
> ??none??: cannot open file: /amd64/lib/libc.a
>
> I already looked in google, the email list, and FAQ's= that I could find.
> =A0Your help is appreciated.

cd /sys/src; objtype=3Damd64 mk= libs

- erik


Thank= s! =A0It went through a bunch of compiles and library adds successful= ly but ended in:

...
a - utfutf.6
a - u16.6
a - u32.6
a - u64.6
amd64
Can't cd amd6= 4: 'amd64' directory not found
mk:=A0for(i in 9sys ... : exit status=3Drc 1544: rc=A02737: can&#= 39;t cd
mk:=A0date for (i ... = =A0: exit status=3Drc 1058: rc=A01477: mk=A01543:= error
term%


--089e0122f6ae4a389104ed9cf919--