|
From: <mi...@ad...> - 2001-07-21 21:36:38
|
>If you are running Windows 95 you will need to get the Windows 95 patch >from the mingw download site. This will fix the problem with the "/". The >patch is not necessary on Windows NT. Patch? The only patch I can find is for the specs file, and that seems to make my problems worse. Is there another patch I should know about? I'm running Win ME, do I need to install differently than if I had 95? >You don't really need to set any environment variables except PATH. If I exclude the C_INCLUDE_PATH, gcc reports that it can't find <STDIO.H> Do I have something else set wrong? ------------- >anyway i solve it this way: >SET PATH=d:\mingw\bin;d:\mingw\lib\gcc-lib\mingw32\2.95.3-4;%PATH% That helps a lot! With the new PATH I can compile, but the linker gives me an error. Here is what I am doing now: SET PATH=%PATH%; d:\mingw\bin SET PATH=%PATH%;d:\mingw\lib\gcc-lib\mingw32\2.95.3-4 SET C_INCLUDE_PATH=d:\mingw\include SET CPLUS_INCLUDE_PATH=%C_INCLUDE_PATH% SET LIBRARY_PATH=d:\mingw\lib gcc hello.cpp and I get "ld: Cannot find -lgcc" Anybody seen this before? |