public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems using AR utility
@ 2001-12-21  5:52 Ignasi Villagrasa
  2001-12-21  7:31 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Ignasi Villagrasa @ 2001-12-21  5:52 UTC (permalink / raw)
  To: Cygwin

I'm new using Cygwin and have a problem using AR.EXE utility.

I have a makefile that builds a program without problems. When I try to 
add some of the .obj files to a .lib file, instead of using the .obj's 
in the makefile, I get several undefined symbols. But these symbols are 
into the library (I can see them running nm) and link fine when I attach 
the .obj's directly from makefile.

Could anyone give me a hint ?

Thanks in advance. Ignasi Villagrasa.



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems using AR utility
  2001-12-21  5:52 Problems using AR utility Ignasi Villagrasa
@ 2001-12-21  7:31 ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2001-12-21  7:31 UTC (permalink / raw)
  To: Cygwin

On Fri, Dec 21, 2001 at 01:52:23PM +0000, Ignasi Villagrasa wrote:
> I'm new using Cygwin and have a problem using AR.EXE utility.
> 
> I have a makefile that builds a program without problems. When I try to 
> add some of the .obj files to a .lib file, instead of using the .obj's 
> in the makefile, I get several undefined symbols. But these symbols are 
> into the library (I can see them running nm) and link fine when I attach 
> the .obj's directly from makefile.

.obj? .lib?  Are you trying to us ar with VC?  I'm not sure if that's
supposed to work...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems using AR utility
@ 2001-12-21  8:40 Ignasi Villagrasa
  0 siblings, 0 replies; 3+ messages in thread
From: Ignasi Villagrasa @ 2001-12-21  8:40 UTC (permalink / raw)
  To: cygwin

No. I'm not using VC. I'm using Cygwin. But I mantain .obj and .lib 
names because I'm migrating these programs from Watcom to Cygwin, and 
the original names were .obj and .lib. Aditionally, I want to migrate 
them to Linux, too. So I want to distinguish the program version using 
different extensions, .obj and .lib for WNT and .o and .a for Linux.

Ignasi Villagrasa.



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-21 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-21  5:52 Problems using AR utility Ignasi Villagrasa
2001-12-21  7:31 ` Corinna Vinschen
2001-12-21  8:40 Ignasi Villagrasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).