Some *nix questions

smp

Diamond Member
Dec 6, 2000
5,215
0
76
Okay, I keep hearing this type of stuff and I just know that I whatever I read will require some sort of programming knowledge to understand, maybe I'm being naive in my attempt to get the hang of this since I'm not a comp-sci major, or a programmer.

What is

1) a.out and elf?
2) libc4 libc5 etc?
3) GCC is a compiler, I know, but what is ncurses?

Just stuff like that, how do you all know (those that do) this stuff? How do did you wrap your head around the concepts that are native to *nix in the first place? It seems that my learning curve is longer, steeper and harder than anyone elses
 

DaHitman

Golden Member
Apr 6, 2001
1,158
0
0

Ok... I will take a shot at these...


What is

1) a.out and elf?

They are formats for how an executable is stored on disk... more of a file format... sort of if there was 2 ways to format the contents of a .exe file... for a user...its not important.. a.out is an older standard that is not used much at all, and elf is the newer standard that everyone uses. Everyone moved to elf several years ago because it works with dynamic linking better, and allows programs to share memory easier. But, these days its nothing more than answer to triva questions and not important.

2) libc4 libc5 etc?

Different version of the C library. libc is the main sort of function calls that are used by C programs... Its the library that stores the basic c programming funnctions like read(), printf() etc..

See??...


This is only important because some programs are compiled against different versions.. the cool think about *NIX is you can have multiple versions of the same library on a system and have programs run that required either versions, and they don't interfere with each other.. this is one thing that Windows really screwed up... in windows a new program that required a newer library overwrites the older library and lots of times breaks compatibility with programs based on the older version (This is what DLL Hell means) ... NIX doesnt have that problem.

3) GCC is a compiler, I know, but what is ncurses?

ncurses, is a library which provides a programmer a simple to use interface which allows them to do character based GUI's in text mode screens... makes a text interface for a program much nicer with input boxes, buttoms, pop-ups etc..

Just stuff like that, how do you all know (those that do) this stuff? How do did you wrap your head around the concepts that are native to *nix in the first place? It seems that my learning curve is longer, steeper and harder than anyone elses

Nah... most of this stuff is "programmer" stuff, and you really don't have to know much of anything about it as a NIX user... I used NIX for many years before I picked this stuff up...


 

hobgadling

Member
Oct 23, 2001
39
0
0
Originally posted by: smp
1) a.out and elf?

These are two different binary types, I'm not entirely sure what the difference is, but I believe it has somthing to do with what glibc they are compiled against.

2) libc4 libc5 etc?

These are different versions of the GNU C Library. Check the link for more info.

3) GCC is a compiler, I know, but what is ncurses?

Ncurses is a library that you can use to create graphical looking programs at a terminal or tty.

Just stuff like that, how do you all know (those that do) this stuff? How do did you wrap your head around the concepts that are native to *nix in the first place? It seems that my learning curve is longer, steeper and harder than anyone elses

No, its that bad for everyone. It takes lots of time, espically coming from a Windows environment. For straight up working in the environment, I suggest searching out Running Linux and/or Linux in a Nutshell from O'Reilly. If you're interested in programming, I'm sure there's lots of books, but for a beginner I've had lots of luck from Beginning Linux Programming from Wrox. HTH.

--Hob, Windows free for 2+ years and still a Linux newbie
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: DaHitman
Ok... I will take a shot at these...


What is

1) a.out and elf?

They are formats for how an executable is stored on disk... more of a file format... sort of if there was 2 ways to format the contents of a .exe file... for a user...its not important.. a.out is an older standard that is not used much at all, and elf is the newer standard that everyone uses. Everyone moved to elf several years ago because it works with dynamic linking better, and allows programs to share memory easier. But, these days its nothing more than answer to triva questions and not important.

OpenBSD is still on a.out for all but sparc (maybe sparc64 too), I think. Darwin/Mac OS X uses Mach-o. I know there is atleast one more format out there, but I cant think of it offhand... Each has advantages and disadvantages, just dont ask me what they are.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |