pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: attempting bootstrap on new OS



On Sat, 13 Feb 2010 03:56:20 +0900, Larson, Timothy E. 
<TELarson%west.com@localhost> wrote:

Thought I'd see what happens on Minix...

Oh, It's my next target:)

I've gotten as far as trying to bootstrap bmake, but it seems that not all the 
vars from makefile.boot.in get replaced properly when creating the 
Minix/makefile.boot.  E.g.:


$ diff makefile.boot.in Minix/makefile.boot
8c8
< srcdir=@srcdir@
---
srcdir=/usr/pkgsrc/bootstrap/work/bmake
21,23c21,23
< CFLAGS= @CFLAGS@ -I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS} \
<          -D_PATH_DEFSYSPATH=\"${DEFAULT_SYS_PATH}\"
< MDEFS="-D@force_machine@MACHINE=\"@machine@\"" 
"-DMACHINE_ARCH=\"@machine_arch@\""
---
CFLAGS= -g -O2 -I. -I$(srcdir) -DHAVE_CONFIG_H  
-I/usr/pkgsrc/bootstrap/work/bmake/missing ${XDEFS} \
         -D_PATH_DEFSYSPATH=\"${DEFAULT_SYS_PATH}\"
MDEFS="-DMACHINE=\"minix3\"" "-DMACHINE_ARCH=\"i386\""
44c44
<       ${CC} *.o lst.lib/*.o -o $@ @LDFLAGS@ @LIBS@
---
      ${CC} *.o lst.lib/*.o -o $@  @LIBS@


Other vars, namely @prefix@, @CC@, @mksrc@, @default_sys_path@, @LIBOBJS@, and 
@LIBS@, are unchanged.  I'm not sure why...

Could you check Minix/config.sub?
It contains following line?

S["LIBS"]=""

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index