This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: ld for win32 alphabetical order dependence
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Shane Blackett" <s dot blackett at auckland dot ac dot nz>, <binutils at sources dot redhat dot com>
- Date: Mon, 11 Nov 2002 08:38:42 +0100
- Subject: RE: ld for win32 alphabetical order dependence
> test_win32_link_fails.exe - Application Error
> The application failed to initialize properly (0xc0000005). Click on
> OK to terminate the application.
>
> I gather this code is basically the number for an access violation.
> This is occuring in the initialisation before the
> program code is started.
>
> So I spent some time trying to find out what causes this and discovered
> that the executable seems fine if the full
> path name of the perl library is alphabetically before the full pathname
> of the glib library.
If these libs are shared libraries, this may be a dll initialisation problem.
I've encountered such messages while the kde-cygwin port. The dll init code
returns an error to the runtime loader and that the could not load the dll's.
Ralf