pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: self bootstrap on Interix 3.5
> problem is
> bmake.boot was compiled by gcc
> gcc -D_ALL_SOURCE *.o lst.lib/*.o -o bmake.boot -L../../libnbcompat
> -lnbcompat
> then pass CC=gcc to bmake.boot
> CC="gcc -D_ALL_SOURCE" LIBC= MAKEFLAGS=
> MAKESYSPATH=`pwd`/mk:mk:/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
> ./bmake.boot -f Makefile
> c89 -O -D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\" -I.
> -I/var/tmp/obj/pkgsrc/bmake -DHAVE_CONFIG_H -I../../libnbcompat
> -I/var/tmp/obj/pkgsrc/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE
> -DSIGNAL_FLAGS=SA_RESTART -Werror -c /var/tmp/obj/pkgsrc/bmake/arch.c
>
> Why c89 was called?
Ok, in /usr/share/mk/sys.mk:
CC=c89
Then:
% env MAKESYSPATH=/usr/pkg/share/mk:/usr/share/mk ./bmake.boot -V CC
c89
% env MAKESYSPATH=/usr/share/mk:/usr/pkg/share/mk ./bmake.boot -V CC
c89
% env CC=gcc MAKESYSPATH=/usr/share/mk:/usr/pkg/share/mk ./bmake.boot -V CC
c89
% env CC=gcc MAKESYSPATH=/usr/pkg/share/mk:/usr/share/mk ./bmake.boot -V CC
c89
% env MAKESYSPATH=/usr/pkg/share/mk ./bmake.boot -V CC
gcc -D_ALL_SOURCE
% env CC=gcc MAKESYSPATH=/usr/pkg/share/mk ./bmake.boot -V CC
gcc
% ./bmake.boot -m /usr/share/mk:/usr/pkg/share/mk -V CC
gcc -D_ALL_SOURCE
What?
--
OBATA Akio
obata%lins.jp@localhost
Home |
Main Index |
Thread Index |
Old Index