convert microsoft .obj object to .o cygwin object???
Robert Bercik
robertjbercik@yahoo.com
Mon Jan 13 02:54:00 GMT 2003
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.markebo@telia.com> wrote:
> > / Robert Bercik <robertjbercik@yahoo.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/
More information about the Cygwin
mailing list