From: djd <dj...@cm...> - 2012-02-26 06:49:35
|
As a beginner with both c and mingw, I attempted moving an application from the ...nix environment to Windows XP using mingw. To do this, I one-by-one linked the various *.c components, including headers and library functions unavailable with the standard mingw distribution (eg regex, regcomp, getline, uname, libintl.a ...), then compiled the lot with the -Wall option. There were no complaints and the application worked! I then copied the application to a second PC with the same version of XP (according to the "ver" command), but the application aborted. During the compile on the original, I did not have any cause to think there may be dynamic libraries included. However to be sure, I installed the same distribution of mingw on the second PC together with the additional libraries. The application still aborted! I copied the application from the second PC back to the original PC and ran it. It was OK. I would welcome any suggestions about what to do in order to discover the cause of the problem on the second PC. Regards |