Article View: es.comp.os.linux.programacion
Article #11742Re: No puedo ejecutar binario que acabo de compilar
From: emadruida
Date: Thu, 11 Oct 2001 18:44
Date: Thu, 11 Oct 2001 18:44
13 lines
1450 bytes
1450 bytes
> 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?
Esto ocurre porque a.out no est� en un directorio del PATH.
Para ejecutar un binario en el directorio actual, tendr�s que escribir:
./a.out
o bien indicar la ruta completa.
Technical Details
Message-ID:
<%Llx7.14055$he5.21481@telenews.teleline.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ttd.net!telenews.teleline.es!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-13 08:36:00 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ttd.net!telenews.teleline.es!not-for-mail From: "emadruida" <emadruida@terra.es> Newsgroups: es.comp.os.linux.programacion References: <mMdx7.767$he5.609@telenews.teleline.es> Subject: Re: No puedo ejecutar binario que acabo de compilar Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <%Llx7.14055$he5.21481@telenews.teleline.es> Date: Thu, 11 Oct 2001 18:44:11 GMT NNTP-Posting-Host: 195.235.97.105 X-Complaints-To: usenet@teleline.es X-Trace: telenews.teleline.es 1002825851 195.235.97.105 (Thu, 11 Oct 2001 20:44:11 MET DST) NNTP-Posting-Date: Thu, 11 Oct 2001 20:44:11 MET DST Organization: Terra Networks