ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* Re: [sisyphus] gcc -o test main.c
@ 2002-12-29 15:58 Dmitry V. Levin
  2002-12-29 16:09 ` Dmitriy Gnidchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2002-12-29 15:58 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

On Sun, Dec 29, 2002 at 05:36:45PM +0300, Dmitriy Gnidchenko wrote:
> простой тест на компиляцию программы
> командой gcc -o test main.c
> 
> #include <stdio.h>
> int main(int argc, char *argv[])
> {
>     if(geteuid() != 0) {
> 	fprintf(stderr,"Hello %d\n",geteuid());
> 	exit(1);
>     }
> return 0;
> }
> 
> Код как код, но если глянуть получившегося бинарника, вижу кучу
> мусора типа этого

man 1 strip :)


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-12-29 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-29 15:58 [sisyphus] gcc -o test main.c Dmitry V. Levin
2002-12-29 16:09 ` Dmitriy Gnidchenko
2002-12-29 16:15   ` Dmitry V. Levin
2002-12-29 16:18     ` Dmitriy Gnidchenko

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git