In file included from rts\System\Demo.cpp:12:
rts/Game/GameSetup.h:5:15: error: rts/map: Permission denied
This and previous version breaks when a directory of the same name as a standard include is on the include path:Confirmed. I'll see about creating a GCC bug report.Codeline 5 is #include <map> and rts/Map is a directory. Workaround is to add -I/standard/include/dir as a first command line option, so it's not critical, but quite annoying.In file included from rts\System\Demo.cpp:12:
rts/Game/GameSetup.h:5:15: error: rts/map: Permission denied
Can I correct this problem by copying "libiconv*.dll" from my Gnu Win32 utilities to somewhere in Mingw tree?No, I'm pretty sure GCC has to be linked to libiconv when built. Look for another release in the near future that is!
error: no iconv implementation, cannot convert from latin5 to UTF-8Best solution is to compile one by yourself in msys/mingw. UTF-8 conversion depends on many things (mingw-runtime and winapi), so - it's more a problem of platform's subsystem (MinGW is "under" Windows, he isn't standalone, right?). BTW, compiler itself can be linked without any problems with static libiconv.a and I suggest you to avoid dll-hell doing the same. Libiconv has nasty circular dependency with libintl from gettext /chicken or egg situation/ and because of that (and many other things) iconv has never ever been properly compiled for MinGW.
I would be grateful if you provide one.QuoteQuote from: Ramazan Kartal on 26 July 2007, 22:12:00
Can I correct this problem by copying "libiconv*.dll" from my Gnu Win32 utilities to somewhere in Mingw tree?
No, I'm pretty sure GCC has to be linked to libiconv when built. Look for another release in the near future that is!
-------------- my man. If you download my gettext-iconv-expat rar archive, you can try it... it's gcc version independent and newest one. If it doesn't work, take plan B.
(http://free-kr.t-com.hr/zeman/smiley/ghostsmile.gif)
Huh... looks like self denial. It means "to get free of something troublesome (e.g., a job) with very little damage" (Turkish phrase I've used and picked up earlier god knows where).The phrase you used is an off-colour idiom which may be quite offensive to people. Please don't use non-english phrases on this board (even more so if you are not sure about their implication).
gcc -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-p
ointer -DSETUP_USE_COMPILED_DATAFILES -I. -I./include -o obj/mingw32/alleg/setup.o -c setup/setup.c
setup/setup.c: In function 'joystick_handler':
setup/setup.c:2483: error: unrecognizable insn:
(insn 138 136 139 11 (set (reg:SI 182)
(const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.joy") <var_decl 015DC4D0 joy>) [0 S4 A8])
(const_int 312 [0x138])))) -1 (nil)
(nil))
setup/setup.c:2483: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
mingw32-make: *** [obj/mingw32/alleg/setup.o] Error 1
i use Build.txt description to install and run scripts under mSYS/mingw.This probably won't work without major modification; I build under Ubuntu Linux (7.04), and the scripts aren't designed with mSYS in mind.
The only problem that I found was in some .la in the lib directory that was pointing to yours cross-compile directory.Oops. Is this causing problems during normal usage?
can anyone compile allegro 4.2.2 with this?This is definitely a bug in GCC. I'll see about a bug report on this one, too.
C:/MinGW-4.2.1/include/c++/4.2.1/clocale:51:20: error: locale.h: No such file or directoryDoes that file exist?
Any thoughts?You forgot to install the mingw-runtime package? Make sure that there is a locale.h in <mingw>\include.
What should be the change?I couldn't say without taking a look at the libcurl sources. You'd need to find where ssize_t was being defined earlier and see if there is a macro that will prevent it, or create another macro that disables that definition in that specific case -- or, just comment it out (if you can be sure that nothing else needs it...).
ssize_t is defined a few lines earlier in types.hNope, that's _ssize_t (note the leading underscore).
GCC 4.2.1 TDM-2 is now available! Objective-C++ and Treelang packages have been added, and GCC now uses libiconv for support for non-UTF-8 charsets (see -finput-charset, etc.).
A GCC 4.2.1 binary release for mingw is available.
You can download it from:
https://sourceforge.net/project/showfiles.php?group_id=2435
under gcc-4
The binaries are archived by language.
There are two versions, differing in the model used for exception unwind
info.
(1) Setjump-longjump (sjlj). Historically,and currently, the
default model.
(2) Dwarf2 table-based unwinding (dw2). The more efficient model.
*This version is built with Dwarf 2 unwind info enabled. The gcc, g++
and
gfortran drivers in the bin directory have a '-dw2' suffix to indicate
that, You can remove '-dw2; from these files if you like.
If you want sjlj you will find them (soon) in the gcc-4.2.1-sjlj-1
package
The binaries were compiled with --enable-version-specific-runtime-libs.
The runtime libs are in <mingw-root>/lib/gcc/mingw32/gcc-4.2.1-dw2. Do
not move these files. If you really must, don't bother reporting
installation bugs.
Please consider this package as experimental.
To get core C compiler, download:
gcc-core-4.2.1-dw2-1.tar.gz
To add on other languages, download one or more
of these (in addition to core):
gcc-ada-4.2.1-dw2-1.tar.gz
gcc-g++-4.2.1-dw2-1.tar.gz
gcc-gfortran-4.2.1-dw2-1.tar.gz
gcc-objc-4.2.1-dw2-1.tar.gz
Extract the files, maintaining the directory structure, into your root
directory for mingw.
Be aware that some archive extracters do not preserve read-only
attributes of files. If you are installing the Ada component, please
check that the files in the /lib/gcc/mingw32/4.2.1-dw2/adainclude and
adalib
directories are flagged as read-only. This attribute is necessary to
prevent them from being deleted when using gnatclean to clean a project.
* libstdc++ and libgfortran require version 3.13 of mingw-runtime and
w32api version 2.2 or higher.
* This package does _not_ contain binutils, the mingw-runtime
or the w32api. You will need to get these if you do not already
have mingw installed.
* libstdc++ and libgfortran require version 3.13 of mingw-runtime and
w32api version 2.2 or higher. Yes, I've said it twice now.
* Static and dll libraries of libgcc and libstdc++ are in the release.
By default, linkage is to static libraries. More details later.
* OpenMP is enabled. To use it you will need to have win32-pthreads
package installed. More details later.
This release contains:
1) Source distribution, with mingw-local patches incorporated:
gcc-4.2.1-1-src.tar.gz
(This is the whole shebang. Maybe some day I'll have time to break
up into language components.)
2) Binaries
gcc-core-4.2.1-dw2-1.tar.gz
gcc-ada-4.2.1-dw2-1.tar.gz
gcc-g++-4.2.1-dw2-1.tar.gz
gcc-gfortran-4.2.1-dw2-1.tar.gz
gcc-objc-4.2.1-dw2-1.tar.gz
3) gcc-4.2.1-build-dw2.sh, which is the script I used to configure
and build.
4) This file.
Danny
2007-08-07