dyne / cjit

Just in time interpreter for C
https://dyne.org/cjit/
137 stars 8 forks source link

Commandline to add libraries #29

Open jaromil opened 2 months ago

jaromil commented 2 months ago

Test ways to link libraries, either by adding them as commandline arguments or by using a -l option

The -l option can be easily implemented using:

#pragma comment(lib, "OtherLib700.lib")

internally added on top of the source to be executed.

jaromil commented 4 days ago

This now works adding library files directly as arguments together with sources.

For compatibility with GCC notation, we still need to have a working -L and -l implementation.