Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我通过 LDFLAGS,额外的 ld 标志和库存在于 /lib、/usr/lib 中,将从 LDFLAGS 或额外的 ld 标志或 /lib 和 /usr/lib 从哪个位置选择库?
另外,如果我通过LDFLAGS='-L/path1 -L/path2 -L/path3' 将首先检查哪个路径, path3 还是 path1 ?
LDFLAGS='-L/path1 -L/path2 -L/path3'