Multiple Static Libraries and NimMain

2021-12-17 Thread kaushalmodi
I have a related issue open: Instead of static libs, my purpose is to generate multiple Nim compiled .so files (`--app:lib`) and link them in a C++ codebase, and I am unable to do that so far.

Multiple Static Libraries and NimMain

2021-12-17 Thread Araq
We should probably improve `nimMainPrefix` then.

Multiple Static Libraries and NimMain

2021-12-17 Thread enthus1ast
even with the new 1.6.2 and the new compile switch that it brought (--nimMainPrefix:MyLib), i had to use: --passl:-Wl,--allow-multiple-definition Run