Viktor, windres has a different syntax from rc, see attached file which I can compile with
(E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -r -DOS2 ..\..\..\hbrun.rc Output goes to stdout, so you need a -o also. Maurilio. Viktor Szakáts wrote: > Hi, > >> Using RC.EXE I can compile attached .rc file this way >> >> >> (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)rc -r -DOS2 ..\..\..\hbrun.rc >> Operating System/2 Resource Compiler >> Version 4.00.011 Oct 10 2000 >> (C) Copyright IBM Corporation 1988-2000 >> (C) Copyright Microsoft Corp. 1985-2000 >> All rights reserved. >> >> >> Creating binary resource file ..\..\..\hbrun.RES >> RC: RCPP -E -D RC_INVOKED -D OS2 -W4 -f ..\..\..\hbrun.rc -ef >> D:\OS2\RCPP.ERR >> >> ..\..\..\hbrun.rc > > One question is if it can be linked by gcc. > > Plus from here I can't tell what other limitation > this system tool might have compared to windres. > > Other question is with watcom. It's would good to > define what is a generally accepted OS/2 .rc format > understood and usable with all OS/2 compilers. > >> I see you're calling windres, which I never knew it even exists .) >> >> Anyway, it fails with a parse error, I don't know why. >> >> Still investigating, though. > > Okay. > > Brgds, > Viktor > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l.
/* * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $ */ #if defined( OS2 ) 1 ICON DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico" #endif
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour