🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Necesito algo para ejecutar un .out?

#14279
From: cyc
Date: Sat, 18 Nov 2000 00:00
25 lines
1412 bytes
Ana Mar�a Ruiz de Casta�eda Rodr�guez <anitarcr@worldonline.es> en la fecha 17 Nov 2000 17:42:48 GMT escribi�:
> Despu�s de compilar un programa con gcc obtengo la salida a.out.
> Desde el gdb el programa funciona perfectamente pero desde la shell cuando intento ejecutar con la orden a o con a.out bash me dice que no existe ese comando.
> �Tengo que instalar alguna librer�a para poder ejecutar as� directamente?
> Gracias


Recuerda que debes anteponer ./nombre_del_programa

O sea, en tu caso:

./a.out

Suerte ;-)


-- 

 /--------------------------------\    
 |     Dalton        cyc@nexo.es  |    
 |                                |
 | User: 178.589    ICQ: 55024060 |
 |--------------------------------|
 |  GNU/Linux Debian 2.2 Potato   |
 \--------------------------------/    
Technical Details
Message-ID: <ds26v8.am.ln@127.0.0.1>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8v3qmo$kk1$1@diana.bcn.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,87bd40b7f8f7bbe3
X-Google-Attributes: gidf86c8,public
From: cyc@nexo.es
Subject: Re: Necesito algo para ejecutar un .out?
Date: 2000/11/18
Message-ID: <ds26v8.am.ln@127.0.0.1>
X-Deja-AN: 695096848
Content-Transfer-Encoding: 8bit
References: <8v3qmo$kk1$1@diana.bcn.ttd.net>
Organization: Telefonica Transmision de Datos
Content-Type: text/plain; charset=ISO-8859-1
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.17 (i586))
Mime-Version: 1.0
Newsgroups: es.comp.os.linux.programacion