Angus Leeming a écrit :
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
/usr/lib/ exists on mingw
Are you sure? I mean MSys has it but I don't think mingw understand it. I may be wrong though.

You may well be right.

Here's my understanding of how the different pieces of the jigsaw fit together:

msys does little more than translate unix-style paths into native Windows ones.
Mingw applications are menat to understand only native Windows paths. (This is
the big difference between cygwin and mingw).

I take it that you run your commands from a Cygwin shell terminal? If that's the
case, then the "/" root directory is actually a mount point for C:\cygwin (or
whereever). The shell will translate /usr/lib/foo to C:\cygwin\usr\lib\foo and
pass this windows path to the mingw compiler.

Yes, that's my understanding also. But then I don't understand why g++ complains about not finding "/usr/lib/libiconv.dll.a". Maybe this linking command is too long for the cygwin translation ability... Enrico?

[...]
It is just this one I am not sure about:
# Names of this library.
library_names='libiconv.dll.a'
Because libiconv.dll.a doesn't exist in my mingw tree. I'll try to rename that to '../bin/libiconv2.dll' and see if it helps.

Or remove it. Or see if libiconv.a or iconv.lib exist?

iconv.lib exist from a previous installation. libiconv.a does not exist. Linking directly with iconv.lib, iconv.dll (former installation) or libiconv2.dll (new installation) works fine.

Well, I managed to get rid of Msys entirely already. My next step is probably to get rid of Mingw also. The more I think about it, the more it seems the logical thing to do. Mingw is supposedly creating faster executables but my optimizing activity tells me the opposite.

Shrug. Mingw is a spin off from Cygwin. I'm no expert here but Enrico appears
quite knowledgable; try asking him what the difference is between an executable
compiled with the mingw compiler and one compiled with the cygwin compiler in
"--no-cygwin" mode. My understanding is that the two executables should be
identical...

Supposedly yes. That's why I think I am probably going this way and forget about the mingw business!

Abdel.

Reply via email to