OSDN Git Service

add support for detecting pcc's compiler runtime
authorRich Felker <dalias@aerifal.cx>
Fri, 26 Oct 2012 20:30:07 +0000 (16:30 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 26 Oct 2012 20:30:07 +0000 (16:30 -0400)
commit3d99266b5e8fc6374a9d930f3ae9d444ffebb11e
tree26dcfefc5b77e2283527ea3c2749fe1d3e479f0a
parent607b05aca683eee5bcdb7bf9af4ebf02adc635d9
add support for detecting pcc's compiler runtime

in old versions of pcc, the directory containing libpcc.a was not in
the library path, and other options like -print-file-name may have
been needed to locate it. however, -print-file-name itself seems to
have been added around the same time that the directory was added to
the search path, and moreover, I see no evidence that older versions
of pcc are capable of building a working musl shared library. thus, it
seems reasonable to just test whether -lpcc is accepted.
configure