Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <394C1F5E.75505E4E@dothill.com>
Date: Sat, 17 Jun 2000 21:01:18 -0400
From: Jason Tishler <Jason.Tishler@dothill.com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: JSONCRAIG@aol.com
CC: cygwin@sourceware.cygnus.com
Subject: Re: possible ld bug - Resources
References: <78.6bf1611.267cf65c@aol.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

