[Ecls-list] Passing link options to compile-file?

Seth Burleigh seth at tewebs.com
Tue Mar 9 00:40:41 UTC 2010


Thanks, exactly what i needed.

On Sun, 2010-03-07 at 21:01 -0500, Matthew Mondor wrote:
> On Sun, 07 Mar 2010 19:03:32 -0600
> Seth Burleigh <seth at tewebs.com> wrote:
> 
> > Is there any way i can pass linking options to  compile-file? I need to
> > link to the bluez library for code to work.
> > 
> > 
> > ------------------------------------------------------------------------------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Ecls-list mailing list
> > Ecls-list at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ecls-list
> > 
> 
> Juanjo introduced functionality lately to add user CFLAGS and LDFLAGS
> in the latest (10.3.1) release.  For instance I used as a small FFI
> test:
> 
> (setf c:*user-cc-flags* '("-I/usr/pkg/include")
>       c:*user-ld-flags* '("-L/usr/pkg/lib" "-Wl,-R/usr/pkg/lib" "-lSDL"))
> (compile-file "/tmp/ecl-ffi.lisp" :c-file t :h-file t :data-file t)
> (load "/tmp/ecl-ffi")
> 
> I hope this helps,






More information about the ecl-devel mailing list