[Ecls-list] building a static library that depends on CFFI

Simon Ortiz o.simon at gmail.com
Mon Jul 18 07:51:54 UTC 2011


thanks for your suggestion, but it seems that asdf:make-build doesn't
take the keyword :system-p

> (asdf:make-build :cffi-test :type :lib :system-p t :monolithic t :move-here "/Users/simon/cffi-test/" :ld-flags '("-lm"))

Condition of type: SIMPLE-PROGRAM-ERROR
Unknown keyword :SYSTEM-P

--
Simón Ortiz B., M.Sc., Ing. en Computación
Linux Registered User #388735



On Mon, Jul 18, 2011 at 15:48, Philipp Marek <philipp at marek.priv.at> wrote:
>> ;;; Note:
>> ;;;   Invoking external command:
>> ;;;   gcc -o
>> /Users/simon/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/simon/cffi-test/my-cffi.fas
>> -L/opt/ecl/mac/lib/
>> /private/var/folders/Ph/Ph28pDINHqi3t+OjZePGGE+++TI/-Tmp-/eclinit59IrkC.o
>> /Users/simon/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/simon/cffi-test/my-cffi.o
>> -bundle -lecl -lm /usr/lib/libm.dylib
>> Condition of type: FILE-ERROR
>> Filesystem error with pathname
>> #P"/Users/simon/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/simon/cffi-test/libcffi-test.a".
> ...
>> It seems libcffi-test.a couldn't be produced. Is there a way to get an
>> error message for why it failed building libcffi-test.a? Or maybe, am
>> I missing some step required to build libcffi-test.a?
>>
>> Thank you very much for any help you can provide!
> It seems that my-cffi.fas was produced - that's the name after "-o".
>
> You could try :system-p T in the make-build command; at least :system-p is mentioned in
> the ECL wiki a few times.
>
>
> Regards,
>
> Phil
>
>
>




More information about the ecl-devel mailing list