[erlang-questions] Difference between ei.a and ei_st.a?

Zabrane Mickael zabrane3@REDACTED
Sun Sep 2 20:05:55 CEST 2012


Hi guys,

$ ls -la /usr/lib/erlang/lib/erl_interface-3.7.7/lib/
total 3352
drwxr-xr-x  6 root  wheel     204 11 jui 17:59 .
drwxr-xr-x  6 root  wheel     204 11 jui 17:15 ..
-rw-r--r--  1 root  wheel  611488 11 jui 17:59 libei.a
-rw-r--r--  1 root  wheel  599240 11 jui 17:59 libei_st.a
-rw-r--r--  1 root  wheel  247816 11 jui 17:59 liberl_interface.a
-rw-r--r--  1 root  wheel  247000 11 jui 17:59 liberl_interface_st.a


Why there's 2 libei*.a?
Which one should I link to when building my linked-in driver (or NIF)?

N.B: same for Windows, there's: ei.lib and ei_md.lib (and even ei_mdd.lib) !!!

Regards,
Zabrane




More information about the erlang-questions mailing list