LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2003, 10:21 PM   #1
costasm
Member
 
Registered: Dec 2002
Posts: 71

Rep: Reputation: 15
Wink source and binaries extensions


I would appreciate it if someone could list out the equivalent extensions of source/object/executable/make of filenames

E.g. in Windows

.EXE Executable
.OBJ Compiled Object module
.MAK Make file
.C or CPP is C or C++
.H headers

Or any other important file names.

Thank you.
 
Old 10-13-2003, 10:33 PM   #2
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Rep: Reputation: 15
.c/.cc - C/C++ source
.h - header files
Makefile - Makefile for GNU's `make' utility
.tex/.latex - TeX/LaTeX source
.sh - shell script
.pl/.perl - PERL source file

executables have no extensions(.exe) but on a terminal, you can see them in green colour.
 
Old 10-13-2003, 10:35 PM   #3
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
Hmmm....well many versions of linux have adopted the rpm method of installing programs. I suppose you can compare it to an exe. Linux also uses c++, so there is no comparison there. But keep in mind windows is not linux, and linux is not windows. Linux doesn't use exe. (Unless you use wine or another win emulator) It is also common to run across tar's, which were the standard before rpm came along.
rpm=red hat package manager
tar=linux tape archive
Usually a makefile is called 'makefile' and doesn't include an extension.
 
Old 10-13-2003, 10:41 PM   #4
costasm
Member
 
Registered: Dec 2002
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks. But I have also seen .o and .so

What are these?
 
Old 10-13-2003, 10:43 PM   #5
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Rep: Reputation: 15
.o - object
.so - shared object...mostly, plugins have .so extensions.
 
Old 10-13-2003, 11:01 PM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
if you use windows visual studios (VC++) they use .o files too.

i wonder if it's correct to say that .so files are equivalent to windows .DLL files (?).
 
Old 10-14-2003, 06:03 AM   #7
costasm
Member
 
Registered: Dec 2002
Posts: 71

Original Poster
Rep: Reputation: 15
If the .so is a DLL, then how does it get loaded? DLLs have a standard way of being called and executed.
 
Old 10-14-2003, 09:19 AM   #8
mr_segfault
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Redhat 9
Posts: 95

Rep: Reputation: 15
.so are close to DLLs, and they are loaded at runtime..

I'm not 100% sure, but I think you'll find that .so files have a standard way of being called and executed also... I can't remember the theory .
 
  


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
update apt with source compiled binaries wgandhi Debian 1 12-20-2004 03:13 AM
Looking for GIMP SMP source or binaries.... Thaidog Linux - Software 0 09-18-2004 06:36 PM
need compilers, other stuff to dl, compile from source or rpm binaries - Mandrake 9.1 Kristal Mandriva 6 09-02-2003 10:03 PM
Binaries? Source code? Jo_Nak Linux - Newbie 3 07-04-2003 05:17 PM
Binaries socks Linux - Newbie 1 11-20-2002 09:39 AM

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

All times are GMT -5. The time now is 04:34 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