Windows 95 $BMQ%I%i%$%P$N%$%s%9%H!<%k$O!"
$B%"%W%j%1!<%7%g%s$O$=$N$^$^
Windows NT $BMQ%I%i%$%P$N%$%s%9%H!<%k$O!"
$B%"%W%j%1!<%7%g%s$O$=$N$^$^
Linux $BMQ%=%U%H%&%'%"$N%$%s%9%H!<%k$O!"2<$N
% mcopy a:\\acvc_121.tgz acvc-1.21.tar.gz
Copying acvc_121.tgz
% tar xvzf acvc-1.21.tar.gz
acvc-1.21/
acvc-1.21/common/
acvc-1.21/common/vctest.c
acvc-1.21/common/xvctest.c
acvc-1.21/common/xvctest2.c
acvc-1.21/common/vctest2
acvc-1.21/common/vctest2_.c
acvc-1.21/common/stereo.c
acvc-1.21/Linux-2.0.x/
acvc-1.21/Linux-2.0.x/acvc.c
acvc-1.21/Linux-2.0.x/acvc.h
$B!JCfN,!K(B
acvc-1.21/FreeBSD-2.1.x/xvctest2
acvc-1.21/FreeBSD-2.1.x/xvctest3.o
acvc-1.21/FreeBSD-2.1.x/xvctest3
% cd acvc-1.21
% cd Linux-2.0.x
% xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
make: Nothing to be done for `Makefiles'.
make includes
make: Nothing to be done for `includes'.
make depend
gccmakedep -- -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -- xvctest.c xvctest2.c
gccmakedep -a -- -- acvc.c
gccmakedep -a -- -- vctest.c
gccmakedep -a -- -- vctest2_.c
gccmakedep -a -- -- stereo.c
gccmakedep -a -- -- svctest.c
% make clean
rm -f acvc.o vctest vctest2_ stereo svctest xvctest xvctest2
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
% make all
rm -f acvc.o
gcc -O2 -Wall -c acvc.c -o acvc.o
rm -f vctest
gcc -O2 -Wall vctest.c -o vctest
rm -f vctest2_
gcc -O2 -Wall vctest2_.c -o vctest2_
rm -f stereo
gcc -O2 -Wall stereo.c -o stereo
rm -f svctest
gcc -O2 -Wall svctest.c -lvgagl -lvga -o svctest
gcc -O2 -Wall -ansi -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -c xvctest.c -o xvctest.o
rm -f xvctest
gcc -o xvctest -O2 -Wall -ansi -L/usr/X11R6/lib xvctest.o -lXExExt -lXext -lX11 -Wl,-rpath,/usr/X11R6/lib
gcc -O2 -Wall -ansi -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -c xvctest2.c -o xvctest2.o
rm -f xvctest2
gcc -o xvctest2 -O2 -Wall -ansi -L/usr/X11R6/lib xvctest2.o -lXaw -lXmu -lXt -lSM -lICE -lXExExt -lXext -lX11 -Wl,-rpath,/usr/X11R6/lib
% su
Password:
# make install
install -c -s xvctest /usr/X11R6/bin/xvctest
install -c -s xvctest2 /usr/X11R6/bin/xvctest2
install -c -d /lib/modules/`uname -r`/misc
install -c -m 0644 acvc.o /lib/modules/`uname -r`/misc/acvc.o
install -c -d /usr/local/include
install -c -m 0444 acvc.h /usr/local/include/acvc.h
install -c -d /usr/local/bin
install -c -s vctest /usr/local/bin/vctest
install -c vctest2 /usr/local/bin/vctest2
install -c -s vctest2_ /usr/local/bin/vctest2_
install -c -s stereo /usr/local/bin/stereo
install -c -s -m 4755 svctest /usr/local/bin/svctest
install in . done
# make dev
rm -f /dev/acvc /dev/acvc0 /dev/acvc1
mknod -m 444 /dev/acvc u 60 0
mknod -m 444 /dev/acvc0 u 60 1
mknod -m 444 /dev/acvc1 u 60 2
# exit
exit
% su
Password:
# insmod acvc
# exit
exit
/etc/rc.d/rc.S
$B$N$O$8$a$N$[$&$K!V(B/sbin/insmod acvc
$B!W$H=q$-2C$($^$9!#(BFreeBSD $BMQ%=%U%H%&%'%"$N%$%s%9%H!<%k$O!"2<$N
% mcopy a:\\acvc_121.tgz acvc-1.21.tar.gz
Copying acvc_121.tgz
% tar xvzf acvc-1.21.tar.gz
acvc-1.21/
acvc-1.21/common/
acvc-1.21/common/vctest.c
acvc-1.21/common/xvctest.c
acvc-1.21/common/xvctest2.c
acvc-1.21/common/vctest2
acvc-1.21/common/vctest2_.c
acvc-1.21/common/stereo.c
acvc-1.21/Linux-2.0.x/
acvc-1.21/Linux-2.0.x/acvc.c
acvc-1.21/Linux-2.0.x/acvc.h
$B!JCfN,!K(B
acvc-1.21/FreeBSD-2.1.x/xvctest2
acvc-1.21/FreeBSD-2.1.x/xvctest3.o
acvc-1.21/FreeBSD-2.1.x/xvctest3
% cd acvc-1.21
% cd FreeBSD-2.1.x
% xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
gccmakedep -- -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xvctest.c xvctest2.c xvctest3.c
gccmakedep -I/usr/src/sys -a -- -- acvc.c
gccmakedep -a -- -- vctest.c
gccmakedep -a -- -- vctest2_.c
gccmakedep -a -- -- stereo.c
% make clean
rm -f acvc_mod.o vctest vctest2_ stereo xvctest xvctest2 xvctest3
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.core "#"*
% make all
rm -f acvc_mod.o
gcc -I/usr/src/sys -O2 -Wall -c acvc.c
acvc.c:844: warning: missing braces around initializer for `_module.lkm_dev'
ld -r acvc.o -o acvc_mod.o
rm -f vctest
gcc -O2 -Wall vctest.c -o vctest
rm -f vctest2_
gcc -O2 -Wall vctest2_.c -o vctest2_
rm -f stereo
gcc -O2 -Wall stereo.c -o stereo
gcc -O2 -Wall -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xvctest.c
rm -f xvctest
gcc -o xvctest -O2 -Wall -L/usr/X11R6/lib xvctest.o -lXExExt -lXext -lX11 -lgnumalloc
gcc -O2 -Wall -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xvctest2.c
rm -f xvctest2
gcc -o xvctest2 -O2 -Wall -L/usr/X11R6/lib xvctest2.o -lXaw -lXmu -L/usr/X11R6/lib -lXt -lX11 -lXt -lSM -lICE -lXExExt -lXext -lX11 -lgnumalloc
gcc -O2 -Wall -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xvctest3.c
rm -f xvctest3
gcc -o xvctest3 -O2 -Wall -L/usr/X11R6/lib xvctest3.o -lXExExt -lXext -lX11 -lgnumalloc
% su
Password:
# make install
/usr/bin/install -c -s xvctest /usr/X11R6/bin/xvctest
/usr/bin/install -c -s xvctest2 /usr/X11R6/bin/xvctest2
/usr/bin/install -c -s xvctest3 /usr/X11R6/bin/xvctest3
/usr/bin/install -c -m 0444 acvc.h /usr/local/include/acvc.h
/usr/bin/install -c acvc_mod.o /lkm/acvc_mod.o
/usr/bin/install -c -s vctest /usr/local/bin/vctest
/usr/bin/install -c vctest2 /usr/local/bin/vctest2
/usr/bin/install -c -s vctest2_ /usr/local/bin/vctest2_
/usr/bin/install -c -s stereo /usr/local/bin/stereo
install in . done
# make dev
rm -f /dev/acvc /dev/acvc0 /dev/acvc1
mknod /dev/acvc c 20 0
mknod /dev/acvc0 c 20 1
mknod /dev/acvc1 c 20 2
chmod 666 /dev/acvc /dev/acvc0 /dev/acvc1
# exit
exit
% su
Password:
# modload -e acvc_init /lkm/acvc_mod.o
Module loaded as ID 0
# exit
/etc/rc
$B$K$*$$$F!V(Bmount -a -t nonfs
$B!W$H=q$+$l$?ItJ,$N
if [ -x /lkm/acvc_mod.o ]; then
/sbin/modload -e acvc_init /lkm/acvc_mod.o
fi