03-09-2006
Quote:
Originally Posted by aViking
Yes compilers do that, but you get rid of the metadata by using strip.
I have never heard of elf descriptors being called "metadata", but if you think that stuff goes away, how would a kernel know, as one example, where the text segment ends and the data segment begins? And what does this have to do with the price of beans in China on Tuesday? When I look at my strip man page, I see "strip removes the symbol table and line number information from object files". I don't see anything there about removing timestamps. Nothing about removing "metadata" either. Did I miss something?
10 More Discussions You Might Find Interesting
1. Programming
I recently loaded SuSE on my intel comp.
I am presently taking a walk down memory lane from my days at UofT.
I was fiddling round with cc and the gcc compilers.
I wrote a basic basic basic program .
I tried to compile it as I remember doing in Uni. The problem is that it can't find the header... (5 Replies)
Discussion started by: cantcatchme
5 Replies
2. UNIX for Dummies Questions & Answers
would anyone know of a good online tutorial on compiling and installing tarballs? i'm looking for one that assumes that you know very little to nothing about unix. (3 Replies)
Discussion started by: nydel
3 Replies
3. UNIX for Dummies Questions & Answers
i am trying to compile and install free qt for x11 2.2.4 in order to use kde 2.1. i'm using freebsd 4.3
i currently have XFree86 installed and working.
i followed these instructions:
ftp://ftp.trolltech.com/qt/source/INSTALL
i get through the unpacking fine and i set my .profile.
--... (2 Replies)
Discussion started by: nydel
2 Replies
4. Programming
I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (1 Reply)
Discussion started by: Blunt_Killer
1 Replies
5. AIX
Hello,
i will compile php and apache on an aix 5.1. Configure works fine.
When i start the make the following error appears:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the... (1 Reply)
Discussion started by: n-may
1 Replies
6. HP-UX
I tried to compile the RRDtool on HP-UX (IA56). I have gcc-3.4.3 and perl 5.8.0
I got this:
Writing Makefile for RRDs
cd perl-shared && make
/opt/perl/bin/perl /opt/perl/lib/5.8.0/ExtUtils/xsubpp -typemap /opt/perl/lib/5.8.0/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv... (2 Replies)
Discussion started by: Kalin
2 Replies
7. Solaris
Hi guys
i have posted a thread months ago and a guy called dukenuke or smething like that told me that i have to install Sun Studio if i want to be able to compile programs. I have installed Sun Studio 12 and put it in my PATH but no success compiling anything. when i download some source (tar.gz)... (2 Replies)
Discussion started by: saveka
2 Replies
8. Programming
Hi all,
I had trouble compiling my application with a custom dll, the error appear to be some undefined reference to the functions i had created in my dll. Is there a need to update any environmental variable such as LD_LIBRARY_PATH as in linux system. Please advise.
One more thing is do... (2 Replies)
Discussion started by: dwgi32
2 Replies
9. HP-UX
Hi
When im trying to do make --version and make --help in HP-UX
it throws error
Make: Unknown flag argument -. Stop.
a soft link is present in this directory /usr/bin/make
and hard link is in /usr/ccs/bin/make
what could be the reason can any1 ..please tell me how to solve this... (1 Reply)
Discussion started by: vasanthan
1 Replies
10. Linux
Hello, I have several questions to get awnsered about the newer linux kernels (2.6.25) and above.
1st question: Ive read that the newer kernels you can compile the marvell sd8686 driver from the source. can anyone confrim this? only binaries i see for that driver are for 2.6.24 and im already... (0 Replies)
Discussion started by: old noob
0 Replies
LEARN ABOUT XFREE86
git-stripspace
GIT-STRIPSPACE(1) Git Manual GIT-STRIPSPACE(1)
NAME
git-stripspace - Remove unnecessary whitespace
SYNOPSIS
git stripspace [-s | --strip-comments]
git stripspace [-c | --comment-lines]
DESCRIPTION
Read text, such as commit messages, notes, tags and branch descriptions, from the standard input and clean it in the manner used by Git.
With no arguments, this will:
o remove trailing whitespace from all lines
o collapse multiple consecutive empty lines into one empty line
o remove empty lines from the beginning and end of the input
o add a missing
to the last line if necessary.
In the case where the input consists entirely of whitespace characters, no output will be produced.
NOTE: This is intended for cleaning metadata, prefer the --whitespace=fix mode of git-apply(1) for correcting whitespace of patches or
files in the repository.
OPTIONS
-s, --strip-comments
Skip and remove all lines starting with comment character (default #).
-c, --comment-lines
Prepend comment character and blank to each line. Lines will automatically be terminated with a newline. On empty lines, only the
comment character will be prepended.
EXAMPLES
Given the following noisy input with $ indicating the end of a line:
|A brief introduction $
| $
|$
|A new paragraph$
|# with a commented-out line $
|explaining lots of stuff.$
|$
|# An old paragraph, also commented-out. $
| $
|The end.$
| $
Use git stripspace with no arguments to obtain:
|A brief introduction$
|$
|A new paragraph$
|# with a commented-out line$
|explaining lots of stuff.$
|$
|# An old paragraph, also commented-out.$
|$
|The end.$
Use git stripspace --strip-comments to obtain:
|A brief introduction$
|$
|A new paragraph$
|explaining lots of stuff.$
|$
|The end.$
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-STRIPSPACE(1)