On 3/28/22 09:35, Segher Boessenkool wrote:
You could use what in DOS was called a response file: '@FILE' Read command-line options from FILE. The options read are inserted in place of the original @FILE option. If FILE does not exist, or cannot be read, then the option will be treated literally, and not removed.
I could also add the paths that I need to a variable of my own invention and pass that on the command line, e.g.: $ mips-openwrt-linux-musl-gcc ... -L${MY_LIB_PATHS} ... I just seems a bit weird that GCC honors CPATH and friends for header file locations, but there doesn't seem to be any equivalent for library paths. -- ======================================================================== Google Where SkyNet meets Idiocracy ========================================================================