[Ecls-list] init_MYFILE C-function name collisions

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Wed Jan 30 21:18:11 UTC 2008


Hi William,

there exists a global variable, si::*init-function-prefix*, which can
be used to further disambiguate different files. The problem is that
this file affects all uses of BUILD and COMPILE-FILE, so that it is
difficult to use differnent prefixes for, say, different components of
an ASDF project.

Using the full path is not an option. The reason is that object files
have a limit on the numeber of characters a function name may have and
I do not want to run on that limit.

I am currently pondering other options. The most promising one is to
use an encoded name with a date and duplicate this information in the
string with the lisp objects. ECL could then scan the object files
looking for this information.

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list