|
Re: Ugly Q, I admit: msg#00557os.plan9.general
it turns out not to be very difficult at all. i don't think much of it saw light. you'll find that 5l supports it but the runtime code is not in the distribution. i did 8l and el too but once again it never got out. i'd be willing to do some work on this if come out of retirement (the pasadena doo-dah festival was more fun than bit-bashing). ----- Original Message ----- From: "Russ Cox" <rsc@xxxxxxxxxxxxxxxxxxx> To: <9fans@xxxxxxxxxxx> Sent: Tuesday, November 26, 2002 4:00 PM Subject: Re: [9fans] Ugly Q, I admit > > Does this imply that it would not be difficult to implement dynamic linking > > natively in Plan 9? > > the difficult part of dynamic linking is more in the compiler > and linker than in the kernel proper. since i'm just running > already-created linux binaries, there's hardly any trouble. > > the linuxemu i posted has an "mmap" function that allocates > memory and reads the whole file into it. not quite the most > efficient way to do it. i wrote a real mmap for the kernel at the > time, but it didn't seem worth keeping. the user-side interface > for the kernel mmap is commented out. > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: my web browsing technique: 00557, rob pike, esq. |
|---|---|
| Next by Date: | Re: Plan9 VM for Windows/Linux?: 00557, Robin KAY |
| Previous by Thread: | Re: Ugly Q, I admiti: 00557, Russ Cox |
| Next by Thread: | Re: Ugly Q, I admit: 00557, Lucio De Re |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |