LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-08-2006, 08:42 PM   #1
ztdep
Member
 
Registered: Jul 2005
Posts: 219

Rep: Reputation: 31
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
 
Old 01-08-2006, 09:21 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You'll need to recompile it in the windows environment. Do you have a compiler for windows?
 
Old 01-09-2006, 01:48 AM   #3
ztdep
Member
 
Registered: Jul 2005
Posts: 219

Original Poster
Rep: Reputation: 31
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
 
Old 01-09-2006, 10:14 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet from Widows 2000 to Linux pistachio Linux - Networking 1 08-29-2005 12:51 PM
Connectiing to a Widows network with SUSE 9.1 RSWALKER Linux - Networking 2 02-24-2005 05:53 PM
Widows -> Linux Programs kuba Linux - Newbie 10 02-13-2004 08:27 AM
How to boot Linux and Widows from 2 Separated Discs stelmed Slackware 1 02-02-2004 02:38 PM
Linux and Widows networking with LinNeighborhood munky_hwm Linux - Networking 1 04-25-2003 05:03 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration