MIPI_AdvancedC_FRTK/Lect3/36/36.txt
2024-11-14 08:45:50 +03:00

6 lines
223 B
Plaintext

gcc -c -fPIC lib.c
gcc -shared -o libmy2.so lib.o
Windows:
gcc -o prog2 main.c -L ./ c:\geekbrains.ru\Projects\C\MIPI_AC_Git\MIPI_AdvancedC\Lect3\36\libmy2.so
Linux:
gcc -o prog2 main.c -L ./ -lmy2 -rpath /home/user/mylib2/