tech-toolchain archive

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

Porting NetBSD make to Interix



I wonder if someone could guide me in porting NetBSD make to Interix.

As usual with NetBSD source, make builds out of the box in Interix. But,
when running the make tests however, bmake hangs and there are error
messages.

Any clues or tips?

ksh output attached


$ uname -X

System = Interix
Node = max
Release = 6.1
Version = 10.0.7063.0
Machine = genuineintel
Processor = Intel64_Family_6_Model_26_Stepping_4
HostSystem = Windows
HostRelease = 6.1
HostVersion = SP0

$ uname -a
Interix max 6.1 10.0.7063.0 genuineintel Intel64_Family_6_Model_26_Stepping_4

$ ./bmake -r -m / TEST_MAKE=./bmake
comment testing start
this is foo
This is how a comment looks: # comment
comment testing done
bmake: "/dev/fs/F/dev/BSD/NetBSD/usr/src/usr.bin/make/unit-tests/./cond1" line 
75: warning: extra else
bmake: "/dev/fs/F/dev/BSD/NetBSD/usr/src/usr.bin/make/unit-tests/./cond1" line 
85: warning: extra else
2 is  prime
A='other' B='unknown' C='clever' o='no,no'
Passed:
 var
 ("var")
 (var != var)
 var != var
 !((var != var) && defined(name))
 var == quoted

1 is not prime
2 is  prime
3 is  prime
4 is not prime
5 is  prime

bmake: warning: String comparison operator should be either == or !=
bmake: Bad conditional expression `"0" > 0' in "0" > 0?OK:No

OK
bmake: "/dev/fs/F/dev/BSD/NetBSD/usr/src/usr.bin/make/unit-tests/./error" line 
3: just FYI
bmake: "/dev/fs/F/dev/BSD/NetBSD/usr/src/usr.bin/make/unit-tests/./error" line 
4: warning: this could be serious
bmake: "/dev/fs/F/dev/BSD/NetBSD/usr/src/usr.bin/make/unit-tests/./error" line 
5: this is fatal
*** Error code 1 (ignored)
UT_DOLLAR=This is $UT_FU
UT_FOO=foobar is fubar
UT_FU=fubar
UT_TEST=export
UT_ZOO=hoopie
UT_ALL=even this gets exported
UT_BADDIR=make
UT_DOLLAR=This is $UT_FU
UT_F=fine
UT_FOO=foobar is fubar
UT_FU=fubar
UT_NO=all
UT_OK=good
UT_OKDIR=make
UT_TEST=export-all
UT_ZOO=hoopie
At first, I am
happy
and now: sad
*** Error code 1

Stop.
bmake: stopped in /dev/fs/F/dev/BSD/NetBSD/usr/src/usr.bin/make/unit-tests
.ERROR: Looks like 'sad' is upset.
*** Error code 1 (ignored)
simple.1
simple.1
<ctrl>C


Home | Main Index | Thread Index | Old Index