Page 1 of 2

How Can i Compile Visopsys under windows xp or 7 ?

Posted: Fri Jul 22, 2011 3:54 pm
by doga-1494
How Can i Compile Visopsys under windows xp or 7 ? :)

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Sun Jul 24, 2011 11:12 pm
by andymc
Hiya,

I think it would be tricky, and a lot of work, but it probably could be done.

The build system of Visopsys is designed to be used in Linux/Unix environments. I haven't built it under Windows for many years.

You'd need a set of Unix-like tools, such as cygwin with gcc (djgpp?) and a DOS-based version of NASM (I don't actually know whether such a thing exists).

If you want to keep Windows on your main machine, and you don't want to install Linux as a dual-boot, then it might be easier to try installing Linux inside a virtual machine (Virtual PC, VirtualBox, VmWare, etc) running on a Windows host, and building Visopsys from within that.

Andy

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Mon Jul 25, 2011 5:31 pm
by doga-1494
Thank you for your answer :) i can run NASM under windows :D but i can't run gcc compiler or djgpp..... BIG PROBLEM :( i must use linux system :(

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Mon Jul 25, 2011 5:53 pm
by andymc
This page seems to link to a couple of solutions for GCC on Windows, one of which is cygwin which I mentioned earlier
http://gcc.gnu.org/install/binaries.html

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Mon Jul 25, 2011 8:52 pm
by doga-1494
thank you for this information . :D i'll try.

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Tue Jul 26, 2011 12:37 am
by andymc
You're very welcome. Let us know how you get on.

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Tue Jul 26, 2011 3:01 pm
by doga-1494
i'm installing cygwin now.setup asked me ,which you want to install packages. But i dont know. so i'm installing all packages :D it will take a long time. when i finish setup , i'll write here.

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Wed Jul 27, 2011 9:33 am
by doga-1494
i installed cygwin but when i compile visopsys i see this errors.


Do─ča@doga-pc ~
$ makefile
/usr/bin/makefile: line 10: BUILDDIR: command not found
/usr/bin/makefile: line 12: all:: command not found
cp: cannot stat `COPYING.txt': No such file or directory
make: *** dist: No such file or directory. Stop.
make: *** utils: No such file or directory. Stop.
make: *** src: No such file or directory. Stop.
/usr/bin/makefile: line 20: clean:: command not found
make: *** dist: No such file or directory. Stop.
make: *** utils: No such file or directory. Stop.
make: *** src: No such file or directory. Stop.

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Wed Jul 27, 2011 11:23 am
by andymc
What happens if you type unzip the Visospys source zipfile, change into that directory, and type 'make' ?

Re: How Can i Compile Visopsys under windows xp or 7 ?

Posted: Wed Jul 27, 2011 11:24 am
by andymc
(the errors you're seeing are because you're trying to execute the Makefile, instead of running the 'make' program which uses the Makefile)