I wanted to know if it's possible to compile a Plex86 (a linux application written in C#) for Windows.
(I have the source-code from the application.)
I tried "nmake d:\plex86c\makefile", but it gave me some errors.
The first was:
C:\Program Files\Microsoft Visual Studio 8\VC\bin>nmake d:\plex86c\makefile
Microsoft (R) Program Maintenance Utility Version 8.00.40607.16
Copyright (C) Microsoft Corporation. All rights reserved.
subdir niet verwacht op dit moment.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
Then I changed the contents of the makefile to:
.PHONY: all clean dist-clean
include Rules.make
subdirs= host-kernel host-user guest-kernel guest-user
all:
$(MAKE) -C $subdir; then break; fi; done
But then I got the error:
C:\Program Files\Microsoft Visual Studio 8\VC\bin>nmake d:\plex86c\makefile
Microsoft (R) Program Maintenance Utility Version 8.00.40607.16
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 8\VC\bin\nmake.exe" -C $subdir
; then break; fi; done
NMAKE : U1073: don't know how to make '$subdir'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\n
make.exe"' : return code '0x2'
Stop.
I noticed more makefiles in the subdirectories, so I tried with those, but it didn't work out.
I'll post the original makefile here:
# $Id: Makefile,v 1.5 2004/01/12 18:12:31 kevinlawton Exp $
#
# plex86: run multiple x86 operating systems concurrently
# Copyright (C) 1999-2004 Kevin P. Lawton
.PHONY: all clean dist-clean
include Rules.make
subdirs= host-kernel host-user guest-kernel guest-user
all:
@for subdir in $(subdirs); \
do if ! $(MAKE) -C $$subdir; then break; fi; done
clean:
@for subdir in $(subdirs); \
do if ! $(MAKE) -C $$subdir clean; then break; fi; done
dist-clean:
@for subdir in $(subdirs); \
do if ! $(MAKE) -C $$subdir dist-clean; then break; fi; done
@/bin/rm -f Rules.make include/config.h
@/bin/rm -rf config.status config.log autom4te.cache config.cache
I have access to Visual C# and C++ version 2005 beta and 6.0 (maybe .net but I'll have to wait for that).
Ow yeah, I don't know anything about C# or C++ (usualy I make simple programs using visual basic).
(We'll start learning the basics of C this year in college.)
Question
bsquirle
Hi,
I wanted to know if it's possible to compile a Plex86 (a linux application written in C#) for Windows.
(I have the source-code from the application.)
I tried "nmake d:\plex86c\makefile", but it gave me some errors.
The first was:
Then I changed the contents of the makefile to:
But then I got the error:
I noticed more makefiles in the subdirectories, so I tried with those, but it didn't work out.
I'll post the original makefile here:
I have access to Visual C# and C++ version 2005 beta and 6.0 (maybe .net but I'll have to wait for that).
Ow yeah, I don't know anything about C# or C++ (usualy I make simple programs using visual basic).
(We'll start learning the basics of C this year in college.)
Thanks in advance,
the Blue Squirle
Link to comment
Share on other sites
6 answers to this question
Recommended Posts