mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 21:09:22 +08:00
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
version of library or dll. * config/default.exp: Ditto. * winsup.api/winsup.exp: Ditto.
This commit is contained in:
parent
3a1d827f5c
commit
6e0465c6bc
@ -1,3 +1,10 @@
|
|||||||
|
2003-03-09 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote
|
||||||
|
in-build-tree version of library or dll.
|
||||||
|
* config/default.exp: Ditto.
|
||||||
|
* winsup.api/winsup.exp: Ditto.
|
||||||
|
|
||||||
2003-03-07 Corinna Vinschen <corinna@vinschen.de>
|
2003-03-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
|
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
|
||||||
|
@ -86,7 +86,7 @@ ifdef VERBOSE
|
|||||||
RUNTESTFLAGS = -v
|
RUNTESTFLAGS = -v
|
||||||
endif
|
endif
|
||||||
|
|
||||||
RUNTIME=$(cygwin_build)/new-cygwin1.dll $(cygwin_build)/new-libcygwin.a
|
RUNTIME=$(cygwin_build)/cygwin0.dll $(cygwin_build)/libcygwin0.a
|
||||||
|
|
||||||
TESTSUP_LIB_NAME:=libltp.a
|
TESTSUP_LIB_NAME:=libltp.a
|
||||||
TESTSUP_OFILES:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(libltp_srcdir)/lib/*.c}}}}}
|
TESTSUP_OFILES:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(libltp_srcdir)/lib/*.c}}}}}
|
||||||
@ -173,7 +173,7 @@ testsuite/site.exp: site.exp
|
|||||||
rm -rf testsuite/site.exp
|
rm -rf testsuite/site.exp
|
||||||
cp site.exp testsuite/site.exp
|
cp site.exp testsuite/site.exp
|
||||||
|
|
||||||
# Note: we set the PATH so that we can pick up new-cygwin1.dll
|
# Note: we set the PATH so that we can pick up cygwin0.dll
|
||||||
|
|
||||||
check: $(TESTSUP_LIB_NAME) $(RUNTIME) cygrun.exe testsuite/site.exp
|
check: $(TESTSUP_LIB_NAME) $(RUNTIME) cygrun.exe testsuite/site.exp
|
||||||
cd testsuite; \
|
cd testsuite; \
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
Here are some notes about adding and using this testsuite.
|
Here are some notes about adding and using this testsuite.
|
||||||
|
|
||||||
First, all the programs are linked with new-libcygwin.a, which is just
|
First, all the programs are linked with libcygwin0.a, which is just
|
||||||
like libcygwin.a, except that it wants new-cygwin1.dll, not
|
like libcygwin.a, except that it wants cygwin0.dll, not
|
||||||
cygwin1.dll. The testsuite adds the winsup build directory to the
|
cygwin1.dll. The testsuite adds the winsup build directory to the
|
||||||
PATH so that new-cygwin1.dll can be found by windows during testing.
|
PATH so that cygwin0.dll can be found by windows during testing.
|
||||||
|
|
||||||
Because we'll probably run into complaints about using two DLLs, we
|
Because we'll probably run into complaints about using two DLLs, we
|
||||||
run cygrun.exe for each test. All this does is run the test with
|
run cygrun.exe for each test. All this does is run the test with
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
proc winsup_version {} {
|
proc winsup_version {} {
|
||||||
global env
|
global env
|
||||||
global rootme
|
global rootme
|
||||||
clone_output "\n[exec grep ^%%% $rootme/../cygwin/new-cygwin1.dll]\n"
|
clone_output "\n[exec grep ^%%% $rootme/../cygwin/cygwin0.dll]\n"
|
||||||
if { [info exists env(CYGWIN)] } {
|
if { [info exists env(CYGWIN)] } {
|
||||||
clone_output "CYGWIN=$env(CYGWIN)\n"
|
clone_output "CYGWIN=$env(CYGWIN)\n"
|
||||||
} else {
|
} else {
|
||||||
|
@ -48,7 +48,7 @@ foreach src [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.c] {
|
|||||||
clear_xfail
|
clear_xfail
|
||||||
}
|
}
|
||||||
|
|
||||||
ws_spawn "$CC -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/new-libcygwin.a -lkernel32 -luser32 -o $base.exe"
|
ws_spawn "$CC -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/libcygwin0.a -lkernel32 -luser32 -o $base.exe"
|
||||||
if { $rv != "" } {
|
if { $rv != "" } {
|
||||||
verbose -log "$rv"
|
verbose -log "$rv"
|
||||||
fail "$testcase (compile)"
|
fail "$testcase (compile)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user