Re: Arm Board

2015-07-15 Thread Alexander Burger
On Wed, Jul 15, 2015 at 12:44:03PM -0400, Rick Lyman wrote:
 How about;
 
 http://wiki.minix3.org/doku.php?id=developersguide:minixonarm

No way. Cortex-A8 is 32 bit.


 http://www.androidcentral.com/back-and-order-remix-mini-android-pc-kickstarter-just-20

This seems better.

Actually, I'm aiming at the Nexus 9 ... but, as I said, not now. Perhaps
never.

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Arm Board

2015-07-15 Thread Rick Lyman
How about:

http://shield.nvidia.com/store/android-tv

https://developer.nvidia.com/android-tv-developer-guide



On Wed, Jul 15, 2015 at 1:08 PM, Alexander Burger a...@software-lab.de
wrote:

 On Wed, Jul 15, 2015 at 12:44:03PM -0400, Rick Lyman wrote:
  How about;
 
  http://wiki.minix3.org/doku.php?id=developersguide:minixonarm

 No way. Cortex-A8 is 32 bit.


 
 http://www.androidcentral.com/back-and-order-remix-mini-android-pc-kickstarter-just-20

 This seems better.

 Actually, I'm aiming at the Nexus 9 ... but, as I said, not now. Perhaps
 never.

 ♪♫ Alex
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



Re: Arm Board

2015-07-15 Thread Rick Lyman
Or maybe:

https://developer.nvidia.com/jetson-tk1

On Wed, Jul 15, 2015 at 1:17 PM, Rick Lyman lyman.r...@gmail.com wrote:

 How about:

 http://shield.nvidia.com/store/android-tv

 https://developer.nvidia.com/android-tv-developer-guide



 On Wed, Jul 15, 2015 at 1:08 PM, Alexander Burger a...@software-lab.de
 wrote:

 On Wed, Jul 15, 2015 at 12:44:03PM -0400, Rick Lyman wrote:
  How about;
 
  http://wiki.minix3.org/doku.php?id=developersguide:minixonarm

 No way. Cortex-A8 is 32 bit.


 
 http://www.androidcentral.com/back-and-order-remix-mini-android-pc-kickstarter-just-20

 This seems better.

 Actually, I'm aiming at the Nexus 9 ... but, as I said, not now. Perhaps
 never.

 ♪♫ Alex
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe





Re: arm

2013-03-22 Thread Rick Lyman
Tomas,

I will look up my notes; and, try a re-compile tomorrow: will let you
know...

-rl


On Fri, Mar 22, 2013 at 8:08 AM, Rick Lyman lyman.r...@gmail.com wrote:

 Tomas,

 I did not have an -fPIC issue. Maybe because I removed -m32?

 Thanks,

 -rl


 On Fri, Mar 22, 2013 at 4:49 AM, Tomas Hlavaty t...@logand.com wrote:

 Hi Rick,

  re: Rpi:
  re: Arch Linux:
 
  Arch on Rpi supports ipv6 and worked (I think after removing -m32, as
  above, in the make file. I will have to look for my notes.)

 and the -fPIC issue?

 Thanks,

 Tomas
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe





Re: arm

2013-03-21 Thread Rick Lyman
Tomas,

Which OS / arm board combination are you using?

Thanks,

-rl


On Sun, Mar 10, 2013 at 7:27 PM, Tomas Hlavaty t...@logand.com wrote:

 Hi Alex,

 attached is a patch to compile picolisp on arm out of the box.  The -m32
 switch doesn't seem to be defined there.

 The -fPIC option was necessary for:

 gcc -o ../lib/z3d   -shared -export-dynamic z3d.o
 /usr/bin/ld: z3d.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol'
 can not be used when making a shared object; recompile with -fPIC
 z3d.o: could not read symbols: Bad value
 collect2: error: ld returned 1 exit status
 make: *** [../lib/z3d] Error 1
 make: Target `picolisp' not remade because of errors.

 Maybe there is a better way to handle the error?

 Would it be possible to include it in the official version?

 Thank you,

 Tomas


 diff --git a/src/Makefile b/src/Makefile
 index 7267011..a229ab8 100644
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -7,46 +7,55 @@ lib = ../lib

  picoFiles = main.c gc.c apply.c flow.c sym.c subr.c big.c io.c net.c tab.c

 -CFLAGS = -c -O2 -m32 -pipe \
 +ifeq ($(shell uname -m), armv6l)
 +   M32 = -fPIC
 +else
 +ifeq ($(shell uname -m), armv7l)
 +   M32 = -fPIC
 +else
 +   M32 = -m32
 +endif
 +endif
 +
 +CFLAGS = -c -O2 $(M32) -pipe \
 -falign-functions -fomit-frame-pointer -fno-strict-aliasing \
 -W -Wimplicit -Wreturn-type -Wunused -Wformat \
 -Wuninitialized -Wstrict-prototypes \
 -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64

 -
  ifeq ($(shell uname), Linux)
 OS = Linux
 -   PICOLISP-FLAGS = -m32 -rdynamic
 +   PICOLISP-FLAGS = $(M32) -rdynamic
 LIB-FLAGS = -lc -lm -ldl
 -   DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic
 +   DYNAMIC-LIB-FLAGS = $(M32) -shared -export-dynamic
 STRIP = strip
  else
  ifeq ($(shell uname), OpenBSD)
 OS = OpenBSD
 -   PICOLISP-FLAGS = -m32 -rdynamic -Wl,-E
 +   PICOLISP-FLAGS = $(M32) -rdynamic -Wl,-E
 LIB-FLAGS = -lc -lm
 DYNAMIC-LIB-FLAGS = -Wl,-E -Wl,-shared
 STRIP = strip
  else
  ifeq ($(shell uname), FreeBSD)
 OS = FreeBSD
 -   PICOLISP-FLAGS = -m32 -rdynamic
 +   PICOLISP-FLAGS = $(M32) -rdynamic
 LIB-FLAGS = -lc -lm
 -   DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic
 +   DYNAMIC-LIB-FLAGS = $(M32) -shared -export-dynamic
 STRIP = strip
  else
  ifeq ($(shell uname), NetBSD)
 OS = NetBSD
 -   PICOLISP-FLAGS = -m32 -rdynamic
 +   PICOLISP-FLAGS = $(M32) -rdynamic
 LIB-FLAGS = -lc -lm
 -   DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic
 +   DYNAMIC-LIB-FLAGS = $(M32) -shared -export-dynamic
 STRIP = strip
  else
  ifeq ($(shell uname), Darwin)
 OS = Darwin
 -   PICOLISP-FLAGS = -m32
 +   PICOLISP-FLAGS = $(M32)
 LIB-FLAGS = -lc -lm -ldl
 -   DYNAMIC-LIB-FLAGS = -m32 -dynamiclib -undefined dynamic_lookup
 +   DYNAMIC-LIB-FLAGS = $(M32) -dynamiclib -undefined dynamic_lookup
 STRIP = strip -x
  else
  ifeq ($(shell uname -o), Cygwin)




Re: arm

2013-03-21 Thread Tomas Hlavaty
Hi Rick,

 Which OS / arm board combination are you using?

linux, pandaboard, beagleboard, rpi.

Cheers,

Tomas
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe