From: Toby T. <tob...@te...> - 2002-11-09 05:22:11
|
On Saturday, November 9, 2002, at 01:53 AM, Toby Thain wrote: > Hi, > > I could not find any reference to this problem on web or groups with > Google, so I am asking the list: I've just installed mingw-2.0.0-3 > under Win98 (using the .exe install wizard). > - it created a directory C:\MINGW > - I've added C:\MINGW\BIN to my PATH (I suggest clear instructions > for doing this should be added to install doc) > - I've made up a hello.c as follows: > > #include <stdio.h> > int main(int argc, char **argv) > { > printf ("Hello\n"); > return (0); > } > > - when I attempt to compile, e.g. > gcc -o hello.exe hello.c > I invariably get: > cc1.exe: hello.c: Invalid argument Hi list, I found the cause. The directory I was attempting to compile in was a VirtualPC "shared folder" from a Mac file system. When I used a Windows directory (e.g. C:\My Documents\) the problem went away. I should have mentioned my runtime environment in the first post. Thanks again for the replies Toby > gcc -v runs without errors (sorry can't paste output easily here, but > it looks fine, except that --enable-languages option lists only > f77,c++,objc,ada!! is this right? gcc version 3.2 (mingw special > 20020817-1)). > > Thanks in advance for any assistance. > Toby > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |