No way:

! Component: 'zlib' found in E:/REPOSITORY/HARBOUR/external/zlib (local)
! Component: 'pcre' found in E:/REPOSITORY/HARBOUR/external/pcre (local)
! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL.
! Component: 'gpm' not supported on os2 platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not supported on os2 platform
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on os2 platform
! HB_INSTALL_PREFIX automatically set to: E:\REPOSITORY\HARBOUR
../../../../../bin/os2/gcc/harbour.exe ../../../hbrun.prg  -i../../../../../incl
ude -n1 -q0 -w3 -es2 -kmo -i- -l
gcc   -I. -I../../../../../include -Wall -W -O3 -DHB_LEGACY_TYPES_OFF
-ohbrun.o -c hbrun.c
windres -O coff   -o hbrun.res ../../../hbrun.rc
windres: can't get BFD_RELOC_RVA relocation type: No such file or directory
make[1]: *** [hbrun.res] Error 1
make: *** [descend] Error 2

Maurilio.

Viktor Szakáts wrote:
> Trying to lessen the mess, can you try this one?:
> 
> ---
> /*
>  * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $
>  */
> 
> #if ( defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ) && ! defined( 
> __GNUC__ )
> /* os2/watcom */
>       ICON DISCARDABLE "../../../../../package/harbour.ico"
> #else
> ICON1 ICON DISCARDABLE "../../../../../package/harbour.ico"
> #endif
> ---
> 
> Also if the icon is indeed visible as app icon.
> 
> Brgds,
> Viktor
> 
> On 2010 Mar 29, at 11:54, Viktor Szakáts wrote:
> 
>>> 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
>> 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
>> 2. Does this .rc format work with watcom?
>>
>> --- hbrun.rc
>> #if defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 )
>> #if defined( __GNUC__ )
>> /* os2/gcc */
>> 1 ICON DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
>> #else
>> /* os2/watom */
>> ICON 1 DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
>> #endif
>> #elif defined( __BORLANDC__ )
>> /* win/bcc */
>> ICON1 ICON DISCARDABLE "..\..\..\..\..\package\harbour.ico"
>> #else
>> /* win */
>> ICON1 ICON DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
>> #endif
>> ---
>>
>> [ Quite nicely standardized format. not. ]
>>
>> 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.


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to