This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: __getreent undefined on linux app build
Larry Hall wrote, On 6/11/2004 5:22 PM:
Yes, libcygwin.a is the import library. But I don't understand why you
need it (or -lc either for that matter). Just compiling with Cygwin's
gcc/g++ gets you all this, unless you're using -mno-cygwin, in which
case you're undoing it by explicitly linking Cygwin anyway. Clearly,
you're doing something I don't understand but in the whole sheme of
things, my understanding of your problem isn't a requirement for
anything. ;-)
When I made a hello world which calls printf I don't have to do -lc on
gcc cmd line. But when I make a lib which calls c lib functions, I have
to provide -lc (and -lcygwin). Not doing -mno-cygwin.
--
Lit up like Levy's
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/