| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <robertjbercik AT yahoo DOT com> |
| Subject: | Re: convert microsoft .obj object to .o cygwin object??? |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
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 <andrew DOT markebo AT telia DOT com> wrote:
> > / Robert Bercik <robertjbercik AT yahoo DOT com> 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |