Please help me understand & patch GCC re. "gcc -L/usr/lib -lz" problem, also "-nostdlib"

2021-03-03 Thread Bob via Gcc
Hi GCC users mailing list, I am currently figuring out a GCC usecase on OpenBSD. This situation involves some non-superficial understanding of GCC's code, and therefore I wish to query you here even in the situation that it turns out not to be needed. I describe my problem here: https://marc.info

Re: Please help me understand & patch GCC re. "gcc -L/usr/lib -lz" problem, also "-nostdlib"

2021-03-03 Thread Bob via Gcc
21 14:16, Jonathan Wakely wrote: > On Wed, 3 Mar 2021 at 12:35, Bob via Gcc gcc@gcc.gnu.org wrote: .. > > Here is to trig the behavior on OpenBSD: .. > > As you see here my "-LMYDIRTEST" comes after -L/usr/lib . > > Normally on any Unix the -L/usr/lib is appended to th