[Ecls-list] Cannot set compiler flags for compile-file
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Fri Jan 15 21:39:31 UTC 2010
On Fri, Jan 15, 2010 at 10:19 PM, Andy Hefner <ahefner at gmail.com> wrote:
> On Sat, Jan 16, 2010 at 4:07 AM, Juan Jose Garcia-Ripoll
> <juanjose.garciaripoll at googlemail.com> wrote:
> > Why don't you add a first file to your compiled program that _only_
> > (require 'cmp) ? The C package would then be available for the subsequent
> > compiled files and you will be able to use symbols by their names.
> > Juanjo
> That does work, somewhat to my surprise.
Why would it be surprising? A compiled program is a set of binary files, one
binary file per source. Each binary file does the same things that the
source did: defining packages, functions, classes, all in the same order.
Hence if you add a source that only does require CMP, then the following
binaries will have, when executed, all the packages, classes and functions
defined by the compiler.
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel