Hello groups,
I would like to use Wine to run a Windows compiler "cc" to complie a c file "test.c" on Linux, but I have the problem.
<try1> cd /a1/a2 wine -- /usr/local/bin/cc -c /b1/b2/b3/b4/b5/b6/test.c -o test.o Catastrophic error: could not open source file \b1\b2\b3\b4\b5\b6\test.c
I try this in another way like this:
<try2> cd /a1 wine -- /usr/local/bin/cc -c /b1/b2/b3/b4/b5/b6/test.c -o test.o
This works well.
Could you give me some informations why <try1> has the error? Thank you.
Best Regards, Clare
On Tue, 18 May 2004 16:58:24 +0800, Clare wrote:
Could you give me some informations why <try1> has the error? Thank you.
Well, I admit this is rather curious, but it does beg the question: why are you using a Windows version of "cc" when you already have gcc which apparently works exactly the same way? If you want to produce windows EXE files using a C compiler on Linux then you can install a cross compiler, that's what I do ...