Re: [9fans] Cross-compiling Plan 9

2014-07-14 Thread Yoann Padioleau
Yep, I did exactly the same. With kencc+a-few-patches+plan9port+few-symlinks you can easily cross compile plan9. See my kencc fork changes: https://github.com/aryx/fork-kencc/commits/master (and my fork 9 fork: https://github.com/aryx/fork-plan9 ) On Jul 14, 2014, at 3:19 PM, David du Colombier <

Re: [9fans] Cross-compiling Plan 9

2014-07-14 Thread David du Colombier
> Since I am building everything on Unix, and am using the Unix shell > (bash in my case), I had to rewrite much of the mkfile rules, > specifically ones that deal with loops, conditionals and substituting > outputs from commands. Because all those rules are simple, this was a > trivial task. I als

Re: [9fans] Cross-compiling Plan 9

2014-07-13 Thread Aleksandar Kuktin
>On Tue, 8 Jul 2014 02:10:37 +0200 >Aleksandar Kuktin wrote: > > >On Mon, 7 Jul 2014 17:41:35 + > >Yoann Padioleau wrote: > > > > Hi, > > > > I was able to cross compile Plan9 from MacOS which is probably quite > > similar to cross compiling from Linux. > > > > The first thing was to compil

Re: [9fans] Cross-compiling Plan 9

2014-07-09 Thread kokamoto
> do you mean size using the size command or size using ls -l? Yes, however I know now two edittion of the 9pi sources, one on my 386 mashin, and the other on my pi machine are slightly different each other. Sorry my noise. Kenji

Re: [9fans] Cross-compiling Plan 9

2014-07-09 Thread Charles Forsyth
do you mean size using the size command or size using ls -l? On 9 July 2014 01:10, wrote: > I got a little bit big size of it by compiling it on my 386 > Plan9 machine than doing on pi itself. > Is this natural? > > Kenji > > >

Re: [9fans] Cross-compiling Plan 9

2014-07-08 Thread kokamoto
I got a little bit big size of it by compiling it on my 386 Plan9 machine than doing on pi itself. Is this natural? Kenji

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Aleksandar Kuktin
>On Mon, 7 Jul 2014 17:41:35 + >Yoann Padioleau wrote: > > Hi, > > I was able to cross compile Plan9 from MacOS which is probably quite > similar to cross compiling from Linux. > > The first thing was to compile the plan9 C compilers > on MacOS. I used https://code.google.com/p/ken-cc/ becau

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Charles Forsyth
On 7 July 2014 19:47, Yoann Padioleau wrote: > The main issues I had were related to Rune incompatibilities. See: An annoying change to get not much (have a look at some of the crud they stuff into that enlarged space), but that will also be changed to match the current versions.

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Yoann Padioleau
Hi, Thx a lot Charles for https://code.google.com/p/ken-cc/

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Charles Forsyth
On 7 July 2014 18:41, Yoann Padioleau wrote: > > The first thing was to compile the plan9 C compilers > on MacOS. I used https://code.google.com/p/ken-cc/ because this fork > of the Plan9 C compilers are easier to compile on non-plan9 OSes. > I'm (slowly, as usual) bringing those up to date, an

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Charles Forsyth
On 7 July 2014 19:21, Skip Tavakkolian wrote: > i posit that bringing up plan9 on qemu and compiling /sys/src is faster > than compiling on macos: kencc+p9p+cross compile plan9 and bring up plan9 > on qemu. i would be happy to be proven wrong. yes, i think it might. on linux I use 9vx (not su

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Skip Tavakkolian
this is an interesting exercise; however, it is much harder than it needs to be. perhaps you have other reasons for doing it the hard way. i posit that bringing up plan9 on qemu and compiling /sys/src is faster than compiling on macos: kencc+p9p+cross compile plan9 and bring up plan9 on qemu. i w

Re: [9fans] Cross-compiling Plan 9

2014-07-07 Thread Yoann Padioleau
Hi, I was able to cross compile Plan9 from MacOS which is probably quite similar to cross compiling from Linux. The first thing was to compile the plan9 C compilers on MacOS. I used https://code.google.com/p/ken-cc/ because this fork of the Plan9 C compilers are easier to compile on non-plan9 OSe

Re: [9fans] Cross-compiling Plan 9

2014-07-05 Thread Charles Forsyth
On 5 July 2014 14:13, Aleksandar Kuktin wrote: > > Are there any pointers or short instructions or a HOWTO or something > similar on the art of cross-compiling Plan 9 from Linux? > It would be easier to compile using 9vx under Linux, or a virtual plan 9 machine in qemu under Linux. It is possibl

Re: [9fans] Cross-compiling Plan 9

2014-07-05 Thread Jacob Todd
No. Use an installer, then once tinge rebooted cd /sys/src; obtype=arm mk installn. Replace arm with you architecture of choice.

[9fans] Cross-compiling Plan 9

2014-07-05 Thread Aleksandar Kuktin
Hello list! Are there any pointers or short instructions or a HOWTO or something similar on the art of cross-compiling Plan 9 from Linux? I've recently decided to start using Plan 9 and, because I am a fucking lunatic, I've decided to download the source code (from plan9.bell-labs.com) and compil