🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17965

Re: otra del gcc

#17965
From: J.A. Gutierrez
Date: Thu, 14 Oct 1999 00:00
25 lines
1462 bytes
oscarUC <oscaruc@nospam.bigfoot.com> wrote:

: una facilita. �C�mo se llama la macro que me indica el nombre del
: compilador/sistema? Por ejemplo, en el Cygwin (el gcc para win32) la macro
: es __CYGWIN__ �Como es en Linux?

	prueba "gcc -E -v hello.c 2>&1 | less"

	probablemente veras definido

	__GNUC__=2
	__GNUC_MINOR__=91
	__ELF__
	unix
	i386
	linux

	y variantes de los mismos


-- 
PGP and other useless info at      \                      Oh, show us the way
http://www.cps.unizar.es/~spd/      \                  to the next whisky bar
finger://daphne.cps.unizar.es/spd    \                           Weill/Bretch
es doloroso ser sabio y descubrir la sopa de ajo                        (Pla)
Technical Details
Message-ID: <7u4daj$3bg$1@posta2.unizar.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7u3tr0$eg6$1@posta2.unizar.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,c85f71da18669f22
X-Google-Attributes: gidf86c8,public
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Subject: Re: otra del gcc
Date: 1999/10/14
Message-ID: <7u4daj$3bg$1@posta2.unizar.es>
X-Deja-AN: 536615027
Content-Transfer-Encoding: 8bit
References: <7u3tr0$eg6$1@posta2.unizar.es>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: usenet@news.unizar.es
X-Trace: posta2.unizar.es 939899027 3440 155.210.152.20 (14 Oct 1999 11:03:47 GMT)
Organization: Rank
Mime-Version: 1.0
User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (IRIX/6.2 (IP22))
NNTP-Posting-Date: 14 Oct 1999 11:03:47 GMT
Newsgroups: es.comp.os.linux.programacion