Package Details: picolisp 16.2.r0.g0b67511-1

Git Clone URL: https://aur.archlinux.org/picolisp.git (read-only)
Package Base: picolisp
Description: Fast and tiny 64-bit Lisp interpreter: OO, dynamic and functional (database, prolog, coroutines).
Upstream URL: http://www.picolisp.com
Licenses: MIT
Submitter: taij33n
Maintainer: taij33n
Last Packager: taij33n
Votes: 1
Popularity: 0.138180
First Submitted: 2015-11-17 16:40
Last Updated: 2016-04-12 10:13

Required by (0)

Sources (1)

Latest Comments

northbear commented on 2016-01-02 17:26

Yes. You are right. Building 32-bit version of picolisp required for initial building picolisp from scratch.
I have been installed previous version of picolisp, so just for me the building 32-bit picolisp is not required. So if I comment "make all" command at the line 25 of PKGBUILD (making 32-bit picolisp in build() section), building completing without any errors.
But If i build from scratch (without any picolisp installed in the system) it stops with errors:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
Makefile:143: recipe for target '../bin/picolisp' failed
make: *** [../bin/picolisp] Error 1
==> ERROR: A failure occurred in build().
Aborting...

taij33n commented on 2015-12-30 11:07

I think there is a misunderstanding of the word "32-bit" in terms of picolisp. The C-Version of picolisp uses internally 32-bit width cells, which are not mapped 1:1 to the underlying architectures longwords, pil64 uses 64-bit width cells which are mapped 1:1 or emulated. pil64 is build completly in lisp, thats why it needs some lisp to build itself. This concept is not in relation to the build environment or executables. If you build picolisp on a x86-64 platform, all final binaries are built for this platform, this includes all binaries in '/src too. you can check that i.e. with "file httpGate".

northbear commented on 2015-12-28 23:34

No, it still does not work properly... I suppose, the problem are appeared because a path for libs to be used for 32-bit version should be /usr/lib32/... instead of /usr/lib/... used now.

taij33n commented on 2015-12-21 14:50

I added 'gcc' to the make dependencies. Can you please try again ?

northbear commented on 2015-12-17 01:08

In time of compiling at the x86-64 platform, build error happens. Linker cannot find proper libs (libm, libc, libgcc, libgcc-s) for 32bit version of picolisp.

Commenting "make" command in src directory in PKGBUILD solves problem, but...

Installing does not create links from picolisp binaries at /usr/lib/picolisp/bin to /usr/bin directory.