>> Can you try two things with included .rc file: >> 1. Does it work with standard windres command-line? >> windres -O [omf|coff] -o hbrun.res hbrun.rc > > Without -O it works, otherwise I get an error: > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -o hbrun.res > ..\..\..\hbrun.rc > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)dir > > The volume label in drive E is Dati. > The Volume Serial Number is 812E:D5C2. > Directory of E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc > > 29/03/10 12:00 <DIR> 124 ---- . > 29/03/10 10:10 <DIR> 124 ---- .. > 29/03/10 10:10 15.390 124 a--- hbrun.c > 29/03/10 10:10 8.211 124 a--- hbrun.o > 29/03/10 12:00 9.344 124 a--- hbrun.res > 5 file(s) 32.945 bytes used > 179.062.521 K bytes free > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -Oomf -o hbrun.res > ..\..\..\hbrun.rc > windres: unknown format type `omf' > windres: supported formats: rc res coff > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -Ocoff -o hbrun.res > ..\..\..\hbrun.rc > windres: can't get BFD_RELOC_RVA relocation type: Error 0
'-O coff' should be the right option for your gcc version, it seems supported, but yet it gives this error? Can it be that the space is missing in your test? '-O omf' is for gccomf. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour