Can not list dir, MinGW compiler issue?

ruizx ruizx at qq.com
Tue Aug 20 09:06:30 UTC 2013


Hi all,
For some reason, I must use Eclipse to compile application in Windows XP.
The bsp is compiled in my Centos 6 pc first, then copy to Windows folder.
MinGW compiler can produce the elf image and it can run on my target board.
But I find a very surprising thing, the shell command ls\cd can not work well.
The shell log is below
 
[/] # mkdir /ccc 
[/] # cd /ccc
[?] # ls
[?] # cd /ddd
chdir to '/ddd' failed:No such file or directory
[?] # cd /
[/] # ls
[/] #
 
It can’t display the directory content, and the shell path promote changed to “[?]” , not [/ccc]
When cd a wrong path, “No such file or directory” show "/ddd" not exist.
 
This issue can’t produce if the application is compiled in Centos 6.
 
Anyone can help me? Thanks.

Thanks & Best regards,
Rui Zhengxin




More information about the users mailing list