ld for win32 alphabetical order dependence
Ralf Habacker
Ralf.Habacker@freenet.de
Sun Nov 10 23:38:00 GMT 2002
> 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
More information about the Binutils
mailing list