首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

windows g++ 有关问题

2012-03-30 
windows g++ 问题我在windows下装了emacs和cygwin,设置好正常使用了后来装了g++ ,使用cygwin-b20安装的可

windows g++ 问题
我在windows下装了emacs和cygwin,设置好正常使用了
后来装了g++ ,使用cygwin-b20安装的
可是以调用命令总是出现

g++ test.cpp -o test
cygwin warning:
  MS-DOS style path detected: F:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\..\..\..\include\g++\.
  Preferred POSIX equivalent is: /cygdrive/f/cygnus/cygwin-b20/include/g++/
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
  http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cygwin warning:
  MS-DOS style path detected: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccsYLT0Q.ii
  Preferred POSIX equivalent is: /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccsYLT0Q.ii
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
  http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
  2 [main] as 3744 exception::handle: Exception: STATUS_ACCESS_VIOLATION
  502 [main] as 3744 open_stackdumpfile: Dumping stack trace to as.exe.stackdump
cygwin warning:
  MS-DOS style path detected: F:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\/real-ld
  Preferred POSIX equivalent is: /cygdrive/f/cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/egcs-2.91.57/real-ld
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
  http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
collect2: ld terminated with signal 11 , core dumped

而且在当前目录下产生 as.exe.stackdump和ld.exe.stackdump文件
求解答

[解决办法]
在安装cygwin时有g++,gcc...的选项
[解决办法]
帮顶!

热点排行
Bad Request.