Thank you! That fixed it!

I will clean up the Makefile and put together instructions later.
There are still some things that would need some cleaning up.

But I have built the package, and got it to run!

J.

root@shams:~# uname -a
Linux shams 4.14.105 #0 Thu Mar 7 15:32:23 2019 mips GNU/Linux
root@shams:~# cat /proc/cpuinfo 
system type             : Qualcomm Atheros QCA956X ver 1 rev 0
machine                 : TP-Link Archer C7 v4
processor               : 0
cpu model               : MIPS 74Kc V5.0
BogoMIPS                : 385.84
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 
0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp dsp2
Options implemented     : tlb 4kex 4k_cache prefetch mcheck ejtag llsc 
dc_aliases perf_cntr_intr_bit cdmm nan_legacy nan_2008 contextconfig perf
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@shams:~# csi
CHICKEN
(c) 2008-2018, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.0.0 (rev 12f2f2cc)
linux-unix-gnu-mips [ dload ptables ]

#;1> call/cc
#<procedure (scheme#call-with-current-continuation proc)>
#;2> +
#<procedure C_plus>
#;3> (* 2 3 4)
24
#;4> (require-extension srfi-4)
; loading /usr/local/lib/chicken/10/srfi-4.import.so ...
; loading library srfi-4 ...
#;5>  (require-extension (chicken string))
; loading /usr/local/lib/chicken/10/chicken.string.import.so ...
#;6> (conc 'a 2)
"a2"



J.


On Wed, Mar 13, 2019 at 09:44:47AM +0100, Peter Bex wrote:
> On Wed, Mar 13, 2019 at 05:38:12AM -0300, Jeronimo Pellegrini wrote:
> > So, I decided to create one for Chicken, but I get this error
> > when compiling:
> > 
> [...]
> > rm -rf 
> > /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme.installed
> >  
> > /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme
> > mkdir -p 
> > /home/jeronimo/pkg/openwrt-18.06.2/build_dir/target-mips_24kc_musl/chicken-5.0.0/.pkgdir/chicken-scheme
> > 
> > So it looks like the cause is here: execvp: /usr/bin/env: Argument list too 
> > long.
> > I suppose that the cross-compiling toolchain is adding lots to an already 
> > long argument 
> > list. Does that make sense? Is there some change I can make to Chicken's
> > Makefiles that could perhaps help to work around that?
> 
> Hi Jeronimo,
> 
> I figure the prefix is repeated a lot of times, so maybe you can change
> the prefix from
> /home/jeronimo/pkg/openwrt-18.06.02/build_dir/target-mips_24kc_musl/ to
> something smaller, like /tmp/owrt, and see if that helps.
> 
> Cheers,
> Peter



_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to