| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Jacob Kolding <dacobi AT gmail DOT com> |
| Subject: | dlopen problems |
| Date: | Wed, 29 Mar 2006 08:55:56 +0000 (UTC) |
| Lines: | 28 |
| Message-ID: | <loom.20060329T105508-611@post.gmane.org> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Hello I'm currently trying to port a 3d engine from linux to cygwin and I have some trouble with the dlfcn.h functions. My main program loads a module via dlopen which works fine in linux, but under cygwin I get an error "No such file or directory" when I try to load a module.dll just for the heck of I i tried to load a non shared binary. This gives the error "Permmision denied" I link my main program with g++ -Wl,-E,--output-def=file.def then I run dlltool -d file.def -l file.a and then compile and link the module with g++ -shared module.cpp -o module.dll file.a this all compiles and links fine. However the above error message haunts me... Can anyone explain to me how dlopen works in cygwin? /Jacob Kolding -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |