I know to make a library on arduino ide with source codes, but I cant send my source code to another users who want to use my lib.
So I need to make a library with precompiled=true info at library.properties. And I need to put my .a and .so files at src/{build.mcu} (in my case, src/avr/mylib.a and mylib.so).
But, where is that files (.a and .so)?!
Does the arduino compiler generate this files? If so, where? If dont, how compiler I need to use?
I found the .o file at appData\local\Temp\arduino_build_XXXX\libraries\mylib\
Do you know which compiler I can use to generate this files?
There is most likely a compiler option for the gcc compiler (that you refer to as "the Arduino compiler") that will tell it to create the .a or .so files. When I used Unix, years ago, one used either .a files or .so files, depending on which version of Unix you were using.