FoBiS icon indicating copy to clipboard operation
FoBiS copied to clipboard

[Feature request] Optional pass AR and RANLIB implementation

Open band-a-prend opened this issue 3 years ago • 0 comments

The Builder.py has hardcoded archiver+flags and ranlib implementation:

link_cmd = "ar -rcs " + lib + " " + link_cmd + " \n ranlib " + lib

that makes imposible to use other implementation of them, e.g. on built of StringiFor.

Is it possible to add optional passing of ar_cmd and ranlib_cmd to pass e.g. llvm-ar and llvm-ranlib executables as string parameter?

Maybe it could be the additional options for custom as compiler -fc like -ar my_ar ar_flags and -rl my_ranlib?

Although the llvm fortran compiler has no own driver and use external compiler to produce executable.

band-a-prend avatar Apr 22 '21 15:04 band-a-prend