3.5.2012 19:35, Ray Holme kirjoitti:
I may have found the problem here, but I am in Microsoft land and am not sure of myself. It would appear that the version of gcc that I installed is 32 bit - the name is MINGW32. It would appear that the version of the firebird software is 64 bit so the libraries are 64 bit. This is probably why the link does not deal well with the libraries. In Unix I could be sure as I could say "file gcc.exe" .... I will make sure that the two are compabible and try again. Very confused - if anyone can tell me the MS equivalent of Unix/Linux "file", that would help a lot.
Using 'objdump' with different options could be what you want. For instance : C:\opt\cross\i586-mingw32\wbin>dir Asemalla C ei ole nimeä. Aseman sarjanumero on 58E2-9BC5 Kansio C:\opt\cross\i586-mingw32\wbin 29.02.2012 11:23 <KANSIO> . 29.02.2012 11:23 <KANSIO> .. 21.10.2011 23:25 56 334 iconv.exe 21.10.2011 23:25 30 734 libcharset-1.dll 26.02.2012 01:34 439 638 libgcc_s_dw2-1.dll 21.10.2011 23:25 1 038 350 libiconv-2.dll 24.08.2011 02:59 47 972 mingwm10.dll 5 tiedosto(a) 1 613 028 tavua 2 kansio(ta) 35 002 814 464 tavua vapaana C:\opt\cross\i586-mingw32\wbin>objdump -f iconv.exe iconv.exe: file format pei-i386 architecture: i386, flags 0x00000102: EXEC_P, D_PAGED start address 0x0040126c C:\opt\cross\i586-mingw32\wbin>objdump -f libgcc_s_dw2-1.dll libgcc_s_dw2-1.dll: file format pei-i386 architecture: i386, flags 0x0000013b: HAS_RELOC, EXEC_P, HAS_DEBUG, HAS_SYMS, HAS_LOCALS, D_PAGED start address 0x6e941058