Ah, I took care of gmp in the mknative case only. Let me fix it.
christos
> On Aug 13, 2023, at 10:09 PM, matthew green wrote:
>
>> I pass it in LDFLAGS=-L${GMPOBJ}
>
> ? this doesn't help gmp.h being missing... i don't know what is up
> and for me, it works because pkgsrc gmp is installed.
>
> I pass it in LDFLAGS=-L${GMPOBJ}
? this doesn't help gmp.h being missing... i don't know what is up
and for me, it works because pkgsrc gmp is installed.
.mrg.
> christos
>
> > On Aug 13, 2023, at 2:41 PM, matthew green wrote:
> >
> > FWIW, when i was looking at why my build worked it seem
I pass it in LDFLAGS=-L${GMPOBJ}
christos
> On Aug 13, 2023, at 2:41 PM, matthew green wrote:
>
> FWIW, when i was looking at why my build worked it seems that
> the build is thinking it's building against the tools gmp but
> the -I path to find it is missing, but -I/usr/pkg/include is
> so th
FWIW, when i was looking at why my build worked it seems that
the build is thinking it's building against the tools gmp but
the -I path to find it is missing, but -I/usr/pkg/include is
so that for me i'm getting the host gmp.h, but it's linking
the tools libgmp.a.
$ time nice -n +10 env -i PATH=/bin:/usr/bin ./build.sh -O ../obj.arm64 -T
../obj.arm64/tooldir -U -u -m evbarm64 -j4 -N1 -V MKCROSSGDB=yes -V MKDEBUG=yes
-V USE_PIGZGZIP=yes release
[...]
In file included from
/home/riastradh/netbsd/current/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/gdbtype