Two linker issues (part 1)

Did a fresh install of 4.4 since I was having this problem in 4.3: Doing a build creates a make such as:

       gcc -o  "myprog"  ./src/myprog.o -lmylib.a

which returns “/usr/bin/ld: cannot find -lmylib.a”

Happens with nvcc as well. It appears that the linker isn’t recognizing the “-l” prefix and treating it as part of the filename. If I manually execute the command without the prefix, then it finds the library (after which I have different problems - see part 2)

Actually, I figured out my second issue so there is no part 2 (nor a rule #6)