On Tuesday 07 August 2012, [email protected] wrote:
> "make lang_geda.o" also should work but I can't load it as a
> plugin. I get
> 
> gnucap> load ./lang_geda.o
> load ./lang_geda.o
>      ^ ? ./lang_geda.o: only ET_DYN and ET_EXEC can be loaded
> 
> I think makefile doesn't compile with -shared flag and hence
> the issue.

The suffix is ".so" (shared object) not ".o".

Make has a collection of default rules, so even though 
lang_geda.o is not explicitly listed in the makefile, make finds 
a rule to make it.  Since .o is normally not "shared", the     
"-shared" flag is not used.

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to