LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2010, 10:45 AM   #1
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
Unhappy What's the difference between Windows' DLLs and Linux' "shared objects"?


Hi all,

Can someone tell me the difference between dll files and shared objects ???
Is the dll file also position independent like shared objects ???

Also suggest some good articles explaining difference between windows and Linux ???

Please help... Thanks in advance

Regards
_Linux_Learner

Last edited by _Linux_Learner; 06-30-2010 at 10:46 AM.
 
Old 06-30-2010, 10:51 AM   #2
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
AFAIR, "native" .dlls (as opposed to .NET assemblies) don't support backreferences (linux .so does)...

I can't give you any articles, sorry. Just one IMHO interesting difference: While linux completely follows the idea of a modular, but "monolithic", kernel, windows NT kernel was created with the microkernel principles in mind (but, for performance reasons, drivers and "kernel daemons" also run in ring-0, so it's not a real microkernel architecture)
 
Old 06-30-2010, 01:47 PM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
For a really basic start, press F1 for the Gnome help program and run through the desktop User Guide to see which things are different.

If you need to use OpenOffice, its help system has a page "Comparing Microsoft Office and OpenOffice.org Terms" which is useful.

This site has a wiki which includes a guide to equivalent programs in the two systems.

The major differences are a product of history and usage. Linux is an imitation of Unix, a system created for mainframes, and it runs on the majority of servers. Windows was created for the pc, and runs on the majority of desktops. That explains some built-in differences like Linux's clear distinction between root and ordinary users, and high level of security. The fact that Linux is almost all open-source explains why most programs have dependencies (support files shared with others), while Windows software comes in complete packages. That in turn explains why Linux programs don't get installed in a single folder, but spread all over the place: a binary here, a library there, a document somewhere else. And the multi-user background explains why their configuration files are in the user's folder.

I've virtually no experience of Windows, but I've lived through CPM, MSDOS, QDOS, and Linux: like the insurance adverts say, change happens, and you'll get used to it in time.
 
1 members found this post helpful.
Old 07-05-2010, 08:44 AM   #4
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
More help required on this topic... still not clear

Please help... Thanks in advance...

Regards
_Linux_Learner
 
Old 07-05-2010, 09:07 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Well, it is true that you did not get a direct answer to the question of dlls vs shared objects. BUT--You do not acknowledge the inputs you have already been given, and you do not state exactly what additional help you need.

1. Have you done any Google searches using "DLL" or "shared object"?

2. Have you done any searches here at LQ--or on Google--using "Windows vs. Linux"?

Please post the relevant parts of your own research, and the specific topic that you do not understand.
 
Old 07-05-2010, 10:33 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

You've been on the LQ forums for awhile now. You should know that we will aid you when you help yourself to a solution. Provide us with what you have attempted and then maybe someone will be able to assist.

'How to Ask Questions the Smart Way' would be one link you should look at to help us to help you in the future.

Quote:
Originally Posted by _Linux_Learner View Post
More help required on this topic... still not clear

Please help... Thanks in advance...

Regards
_Linux_Learner
'Linux Tutorial - Static, Shared Dynamic and Loadable Linux Libraries' is the result of 'dll files and shared objects' <Linux> - Google Search from your original post.

 
Old 07-05-2010, 10:38 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
*Learner;
You might also consider sticking around for a few minutes after posting a question.
 
Old 07-05-2010, 12:39 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
http://linux.oneandoneis2.org/LNW.htm
 
Old 07-05-2010, 02:11 PM   #9
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
http://www.linuxquestions.org/questi...thread-606415/

This thread looks like a duplicate of the one linked to.
 
Old 07-05-2010, 07:09 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

How?

Just a poor title by a newbie who should changed the title to suit the questions presented.
 
Old 07-27-2010, 01:17 AM   #11
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Depends on the code.

If it is using platform-specific calls (win32 api) -- better forget it, you would have to rewrite it. Of course it SHOULD be usable with wine, but only for windows executables running in wine, too.

If the code is only using libc and POSIX calls, it is platform-independent and you can create a .so simply by compiling and linking it with gcc on linux, but it is quite unlikely to find completely portable source for a windows dll...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to create a shared memory and some shared objects in linux? jeremy28 Programming 6 06-11-2010 06:21 AM
Shared Objects mohotmofine Programming 4 10-12-2009 06:46 PM
Shared Objects in Embedded Linux Filesystem ashok449 Linux - Kernel 5 07-06-2008 06:55 AM
any links on linking, loading shared libraries, shared objects. etc? ananthbv Programming 0 02-03-2005 08:47 AM


All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration