LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   use the *.a in widows system (https://www.linuxquestions.org/questions/programming-9/use-the-%2A-a-in-widows-system-401028/)

ztdep 01-08-2006 08:42 PM

use the *.a in widows system
 
hello:
i have compiled a lib named libskit.a in the redhat linux 9.0 , i want to use it in windows system compare visual fortran 6.5, but the compiler can not comile it.

\libskit.lib : fatal error LNK1113: invalid machine type

does somebody know how to resolve this problem?
regards

gilead 01-08-2006 09:21 PM

You'll need to recompile it in the windows environment. Do you have a compiler for windows?

ztdep 01-09-2006 01:48 AM

yes , i have. but the package in the linux system is very complex, it is not a single file, it has very complex makefile.
then how should i do?
regards

jtshaw 01-09-2006 10:14 AM

Your going to have to port the project. This likely means re-writing the makefile and might even require redoing some of the source code itself.

Linux binaries and shared libraries are built in an entirely different format them Windows.


All times are GMT -5. The time now is 06:31 AM.