Dear all,

I'm trying to get starting with mingw64,  and I have problems when passing input
file to gcc by absolute path.

I've installed Cygwin:
$ uname -a
CYGWIN_NT-6.1-WOW64 david-laptop 1.7.14(0.260/5/3) 2012-04-25 09:41 i686 Cygwin

and mingw64 with this file:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/sezero_4.5_20111101/mingw-w64-bin_x86_64-mingw_20111101_sezero.zip

and following instructions from:
http://sourceforge.net/apps/trac/mingw-w64/wiki/GeneralUsageInstructions

I didn't use  the  recommanded  TDM-GCC,  because  installer  failed to download
packages (I tried differents servers).


Now, when trying to compile a file with the install gcc:


$ pwd
/home/david/tmp

$ /cygdrive/c/mingw64/bin/gcc main.c  # ok, compilation succeed

$ /cygdrive/c/mingw64/bin/gcc /home/david/tmp/main.c
gcc.exe: /home/david/tmp/main.c: No such file or directory
gcc.exe: no input files

$ ls /home/david/tmp/main.c
/home/david/tmp/main.c


Any idea where the problem come from?


best regards,
David

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to