Discussion:
[9fans] drawterm armv7
(too old to reply)
hiro
2012-04-02 15:43:04 UTC
Permalink
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
Skip Tavakkolian
2012-04-02 16:19:57 UTC
Permalink
https://bitbucket.org/9nut/drawterm-arm-patch
Post by hiro
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
hiro
2012-04-02 22:16:19 UTC
Permalink
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
Post by Skip Tavakkolian
https://bitbucket.org/9nut/drawterm-arm-patch
Post by hiro
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
Skip Tavakkolian
2012-04-02 23:32:27 UTC
Permalink
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
Post by hiro
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
Post by Skip Tavakkolian
https://bitbucket.org/9nut/drawterm-arm-patch
Post by hiro
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
Loading...