This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: possible ld bug - Resources


Jason,

JSONCRAIG@aol.com wrote:
> Is it normal behaivior to only have one resource object linked properly?  If
> so, that is rather odd.  Why can you link only one resource obj but many .cpp
> objs?

I've only tried to do the above with MSVC++ and came across the same
limitation -- so I think that it is a Windows thing.  I solved it by
including one .rc into the other .rc file.  For example:

--- Begin of sra.rc ---
...
#include "SraMessages.rc"
...
--- End of sra.c ---

Hopefully you can do the same or similar thing with gcc.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]