PATCH: Add default include path to support rc resource file imports.

Kai Tietz
Mon Jul 2 12:00:00 GMT 2007


this patch adds for the rc import files the path of the rc-input path (if 
not the current working directory) to the include_dir list. This allows, 
that resources placed within the input file folder are found by default. 
This behaviour is equivalent to the MS resource compiler.

ChangeLog for binutils/:

2007-07-01  Kai Tietz  <>

        * resrc.c: (read_rc_file): Add include path of
        user passed rc input file.
        * windres.c: (windres_add_include_dir): New.
        (main): Use of windres_add_include_dir.
        * windres.h: (windres_add_include_dir): Add

 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 -
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: 
Ulrike Döhler, Manuela Kluger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: windres_fileres.txt
URL: <>

More information about the Binutils mailing list