From: Roger D. <rog...@gl...> - 2005-06-17 10:30:50
|
Hi, I'm using gcc 3.4.2 and I'm having problems trying to compile and link windows resources. The command echo ...COMPILING c:\users\rday\hoperoot\SW_K\pc\LocalisationKit\pc-all\rc\ENG.rc... set INCLUDE=c:\users\rday\tools\mingw_gcc\include c:\users\rday\tools\mingw_gcc\bin\windres.exe -DQUOTED_SOURCE_DATE="\"not available\"" -DRELEASE_BUILD -DWIN32 -D_X86_=1 -DPITSTOP_VERSION=0x31289 -I.\lkit -Ic:\users\rday\hoperoot\SW_K\pc\LocalisationKit\pc-all\rc -I.\coregui\export -I.\coreskin\pc\msgui -I.\coreskin\export -I.\coreskin\pc\export -I.\custiface\export -I.\custiface\pc\export -Ic:\users\rday\hoperoot\SW_K\pc\LocalisationKit\pc-all\rc -Ic:\users\rday\tools\pitstop_3_12_89\pc\export -o.\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\pc-all\rc\ENG.res c:\users\rday\hoperoot\SW_K\pc\LocalisationKit\pc-all\rc\ENG.rc works, however the result ENG.res doesn't link: ..making C-Link-Ld1 .\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\ENG.dll --actions-- echo ...MAKING .\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\ENG.dll... c:\users\rday\tools\mingw_gcc\bin\gcc.exe -shared -o .\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\ENG.dll .\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\pc-all\rc\ENG.res -lm ----------- ...MAKING .\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\ENG.dll... .\lkit\obj\win_32-pentium\rel-gcc3\gcc_3_4_2\pc-all\rc\ENG.res: file not recognized: File format not recognized collect2: ld returned 1 exit status I can view the ENG.res file in Visual Studio 6, so that seems OK. Neither can I see any issues with the linker options. Any suggestions most welcome. Roger |