possible ld bug - Resources

Jason Tishler Jason.Tishler@dothill.com
Sat Jun 17 18:00:00 GMT 2000


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 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

More information about the Cygwin mailing list