Article View: es.comp.os.linux.programacion
Article #11738Re: No puedo ejecutar binario que acabo de compilar
From: Farfalia
Date: Sat, 13 Oct 2001 00:06
Date: Sat, 13 Oct 2001 00:06
28 lines
1748 bytes
1748 bytes
Guillermo Navarro escribi�: > Hola al grupo. > > Mi problema es que no puedo ejecutar el ejecutable que acabo yo mismo de > generar al compilar con el cc. > Escribo el nombre del ejecutable en el shell "a.out", y me dice que no > encuentra el comando "a.out". > > Sin embargo, si copio este "a.out" al directorio /bin si que lo puedo > ejecutar. > �Que puede estar pasando? > > Gracias y un saludo. > Guillermo > Hola Examina la variable PATH; ah� deber�a estar la ruta "." (directorio donde est�s en cada momento) para que se pueda ejecutar un ejecutable (valga la redun). -- Un saludo, Farfalia @-> Always be tolerant in what you accept, alwys be strict in what you produce
Technical Details
Message-ID:
<9q7t7t$eeo$1@kenobi.antakira.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!news.antakira.com!not-for-mailReferences:
<mMdx7.767$he5.609@telenews.teleline.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,fd3e0a4dac64f4b5 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-10-12 17:06:04 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!news.antakira.com!not-for-mail From: Farfalia <nere@canariasOCEANOtelecom.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: No puedo ejecutar binario que acabo de compilar Date: Sat, 13 Oct 2001 00:06:37 +0000 Organization: CasaTita Lines: 28 Message-ID: <9q7t7t$eeo$1@kenobi.antakira.com> References: <mMdx7.767$he5.609@telenews.teleline.es> NNTP-Posting-Host: 212.25.147.135 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: news.wanadoo.es 1002931425 20547 212.25.147.135 (13 Oct 2001 00:03:45 GMT) X-Complaints-To: usenet@wanadoo.es NNTP-Posting-Date: Sat, 13 Oct 2001 00:03:45 +0000 (UTC) User-Agent: KNode/0.4