9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] drawterm armv7
@ 2012-04-02 15:43 hiro
  2012-04-02 16:19 ` Skip Tavakkolian
  0 siblings, 1 reply; 4+ messages in thread
From: hiro @ 2012-04-02 15:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Trying to compile, but it seems like armv7 is not supported.
Anything I could try or do?


arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/'`; \
        (cd posix-$arch &&  make)
cd: 2: can't cd to posix-armv7l
make: *** [libmachdep.a] Error 2



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] drawterm armv7
  2012-04-02 15:43 [9fans] drawterm armv7 hiro
@ 2012-04-02 16:19 ` Skip Tavakkolian
  2012-04-02 22:16   ` hiro
  0 siblings, 1 reply; 4+ messages in thread
From: Skip Tavakkolian @ 2012-04-02 16:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

https://bitbucket.org/9nut/drawterm-arm-patch

On Mon, Apr 2, 2012 at 8:43 AM, hiro <23hiro@googlemail.com> wrote:
> Trying to compile, but it seems like armv7 is not supported.
> Anything I could try or do?
>
>
> arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/'`; \
>        (cd posix-$arch &&  make)
> cd: 2: can't cd to posix-armv7l
> make: *** [libmachdep.a] Error 2
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] drawterm armv7
  2012-04-02 16:19 ` Skip Tavakkolian
@ 2012-04-02 22:16   ` hiro
  2012-04-02 23:32     ` Skip Tavakkolian
  0 siblings, 1 reply; 4+ messages in thread
From: hiro @ 2012-04-02 22:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Thanks, it works.
But I had to change tas to use ldrex and strex instead of swp. And gcc
inline asm sucks.

On Mon, Apr 2, 2012 at 18:19, Skip Tavakkolian
<skip.tavakkolian@gmail.com> wrote:
> https://bitbucket.org/9nut/drawterm-arm-patch
>
> On Mon, Apr 2, 2012 at 8:43 AM, hiro <23hiro@googlemail.com> wrote:
>> Trying to compile, but it seems like armv7 is not supported.
>> Anything I could try or do?
>>
>>
>> arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/'`; \
>>        (cd posix-$arch &&  make)
>> cd: 2: can't cd to posix-armv7l
>> make: *** [libmachdep.a] Error 2
>>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] drawterm armv7
  2012-04-02 22:16   ` hiro
@ 2012-04-02 23:32     ` Skip Tavakkolian
  0 siblings, 0 replies; 4+ messages in thread
From: Skip Tavakkolian @ 2012-04-02 23:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I did this a while back (with Russ' help).  I think I recall Russ also
suggesting the change you made, but my devices -- Sheeva/Guru Plug
(i.e. ARMv5) -- don't have ldrex/strex.

-Skip

On Mon, Apr 2, 2012 at 3:16 PM, hiro <23hiro@googlemail.com> wrote:
> Thanks, it works.
> But I had to change tas to use ldrex and strex instead of swp. And gcc
> inline asm sucks.
>
> On Mon, Apr 2, 2012 at 18:19, Skip Tavakkolian
> <skip.tavakkolian@gmail.com> wrote:
>> https://bitbucket.org/9nut/drawterm-arm-patch
>>
>> On Mon, Apr 2, 2012 at 8:43 AM, hiro <23hiro@googlemail.com> wrote:
>>> Trying to compile, but it seems like armv7 is not supported.
>>> Anything I could try or do?
>>>
>>>
>>> arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/'`; \
>>>        (cd posix-$arch &&  make)
>>> cd: 2: can't cd to posix-armv7l
>>> make: *** [libmachdep.a] Error 2
>>>
>>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-02 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-02 15:43 [9fans] drawterm armv7 hiro
2012-04-02 16:19 ` Skip Tavakkolian
2012-04-02 22:16   ` hiro
2012-04-02 23:32     ` Skip Tavakkolian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).