LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-25-2009, 06:42 AM   #1
ztdep
Member
 
Registered: Jul 2005
Posts: 219

Rep: Reputation: 31
use linux package in windows


Dear friends:
I have download a package in the linux system written in c language, i have compiled it into a library, so can i use it in the windows system with visual studio 2005.
regards
 
Old 03-25-2009, 06:48 AM   #2
twwwater
Member
 
Registered: Nov 2008
Posts: 113
Blog Entries: 1

Rep: Reputation: 15
well,could you please tell me how did you make that ?
 
Old 03-25-2009, 09:36 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
You need to determine if the source-code package that you have obtained is designed to be compiled in a Windows environment, and if so, what pre- and co-requisites it may have.

Some packages are designed to be "cross platform," either directly or because they use language-facilities that are thought to be platform-agnostic. But others are not.

If the package is cross-platform, then you must configure and compile it "in the proper way" (whatever that is...) for each platform.

There are no "categorical answers" to this question, other than: maybe, maybe not. You'll have to research the question yourself, specifically with regards to the package(s) you are dealing with and the personal situation in which you are dealing with them.
 
Old 03-25-2009, 10:30 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you making a statement, or asking a question?

What is the name of the library? Is it a generic library, written in standard C? Did you compile it in Visual Studio? The object code of Linux won't link with Windows code.
 
Old 03-26-2009, 08:52 PM   #5
twwwater
Member
 
Registered: Nov 2008
Posts: 113
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by sundialsvcs View Post
You need to determine if the source-code package that you have obtained is designed to be compiled in a Windows environment, and if so, what pre- and co-requisites it may have.

Some packages are designed to be "cross platform," either directly or because they use language-facilities that are thought to be platform-agnostic. But others are not.

If the package is cross-platform, then you must configure and compile it "in the proper way" (whatever that is...) for each platform.

There are no "categorical answers" to this question, other than: maybe, maybe not. You'll have to research the question yourself, specifically with regards to the package(s) you are dealing with and the personal situation in which you are dealing with them.

alright!!!!
thank you ! maybe I can have a try!!!
 
  


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
LXer: Windows needs a Linux package manager LXer Syndicated Linux News 0 12-13-2008 06:10 AM
Anyone know of a package manager for Windows HGeneAnthony General 8 03-22-2007 09:21 PM
package manager for windows Tux-O-Matic General 4 12-21-2006 09:12 PM
Which is the development X windows system package for etch? ugabuga Debian 2 07-29-2006 02:32 AM

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

All times are GMT -5. The time now is 03:39 AM.

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