Loading external drivers

Sebastian Strollo <>
Mon Dec 13 10:43:27 CET 1999


Klacke <> writes:

> 
> The second error was lot worse. It appears as if the etk exec
> as well as the .so file now resides in etk/priv/bin/$(TARGET)
> instead of as before etk/priv/bin. Oops.
> 
> Here's a fix for that:

The etk binary and the shared library was intentionally put in
bin/$(TARGET) in lib/etk/c_src/Makefile.in, when you run make install
they are put in the right place.

The reason for building in an architecture private directory being
that it should be possible to build for several platforms in one
subdir without doing make clean in between. (The downside with this is
that you can't run the application "in place", you have to do a make
install. This is unfortunately solved different ways for different
applications, e.g. os_mon works in this way but gs doesn't.)

/Sebastian



More information about the erlang-questions mailing list