Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030103203707.34228.qmail@web14704.mail.yahoo.com> Date: Fri, 3 Jan 2003 12:37:07 -0800 (PST) From: Robert Bercik Subject: Re: convert microsoft .obj object to .o cygwin object??? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hey, I figured out a little workaround for the problem. gcc seems to have a problem linking to msvc .obj object files but not with msvc .lib library files. So all you need to do is create a library file using the command: LIB /OUT:foo.lib foo.obj and link it using gcc, just like you would your other library files. Hope this helps anyone trying to do something similar. -Rob > > --- Andrew Markebo wrote: > > / Robert Bercik wrote: > > | I am getting an error trying to link a .obj > object > > | with gcc. Is there anyway to convert an object > > file > > | from microsoft format to one that is > > understandable by > > | gcc? > > > > If I have gotten everything correct - no there is > no > > way to do this > > conversion, but if you do a dll of this obj-file > you > > should be able > > to load it in your cygwin program with some > magic.. > > > > /Andy > > > > -- > > The eye of the beholder rests on the beauty! > > > > > > > > -- > > Unsubscribe info: > > http://cygwin.com/ml/#unsubscribe-simple > > Bug reporting: http://cygwin.com/bugs.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/