- 論壇徽章:
- 0
|
我在win2000下編譯過一次,自己建的安裝目錄。我的版本是4.1.1,解壓包的install目錄下有各種文檔,可以參考一下。編譯失敗要看具體的原因,過程中應(yīng)該有提示。
C:\Documents and Settings\Administrator>gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.1.1/configure --prefix=/mingw --host=mingw32 --target=
mingw32 --disable-shared --with-gnu-as --with-gnu-ld --enable-threads --enable-l
anguage=c,c++ --disable-libada --with-dwarf2 --disable-win32-registry --disable-
nls : (reconfigured) ../gcc-4.1.1/configure --prefix=/mingw --host=mingw32 --tar
get=mingw32 --disable-shared --enable-threads --enable-language=c,c++ --disable-
libada --with-dwarf2 --disable-win32-registry --disable-nls --with-gc : (reconfi
gured) ../gcc-4.1.1/configure --prefix=/mingw --host=mingw32 --target=mingw32 --
disable-shared --enable-threads --enable-language=c,c++ --disable-libada --with-
dwarf2 --disable-win32-registry --disable-nls
Thread model: win32
gcc version 4.1.1
這是我的gcc,configure過好幾次,編譯過程中主要是ld的路徑錯(cuò)誤,后來(lái)自己指定的。幾個(gè)月了,一直在win下工作還算正常。 |
|