-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Once again, http://cygwin.com/acronyms/#PCYMTWLL !
Michael Rogers wrote: | The problem now that the linker doesn't like the undefined references | for a static library any better then it does for a DLL. I can get | a static library file if I just run the defualt makefiles which use "ar" | followed by "randlib" to make a table, but that doesn't produce viable | executibles when I link it to the test files including the X11 | libraries, carefull observing the linking order as Yaakov suggested. What's not "viable" about them? Maybe if you tell us what you're trying to build (if it's publicly available), or include a build log as an attachment (or link to a pastebin), then someone could be more helpful. | On the other hand, if I try to create the static library using the linker | instead (via gcc) as in | gcc -o staticfoo.a foo_1.o ... foo_n.o -lXpm -lX11 That's not how to make a static library on any platform. You need to use ar and ranlib as in the makefile. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkibbqEACgkQpiWmPGlmQSPaywCePn53Y7aWCt+7nby8iqIoR4eN NCgAnAtN3geZUHuXu46oFKCXv1USO0Wa =FMem -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
