emwhite3

Hi all,
So I would like to add more functionality in the HWLCB such as threading. However since the developer does not manually compile it

i.e gcc main.c -o main

We cannot add other libraries such as pthread and compile with that library in mind. i.e

gcc main.c -o main -pthread

Is there a way to add other commands to the compilation of a C program in HWLCB?

Thanks

Reply 0 0
thiagoralves
You can change the compilation parameters on OpenPLC_v3/webserver/scripts/ compile_program.sh
Reply 0 0
Reply