From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,53411c0b167e5414,start X-Google-Attributes: gid111c93,public From: hfon@my-dejanews.com Subject: GCC compiled program not runable? Date: 1998/09/23 Message-ID: <6ubc75$tbq$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 394039623 X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 156.26.114.56 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Sep 23 03:05:12 1998 GMT Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.05 [en] (Win95; I) Hi, all: Please help me with the following problem: Running RedHat 5.1 Linux for Alpha on an Alpha 200-4/233, I have installed all necessary tools. When I write even a very simple C program, gcc can compile it to an executable file. But when I run that executable program, the system tells me that the file is not found. For example, I wrote a program called p1.c, and I use "gcc -Wall p1.c -o p1" to compile it to a prgram called p1. In order to convince myself, I even "ls -l" the directory, yes, p1 is there, and I have the right to execute it. But when I typr p1 hit enter, it says "p1: command not found". This is mad. Neither can I run it by an absolute path name nor "./p1". So what's wrong? -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum