On Sun, Mar 17, 2002 at 10:13:21AM -0600, mcolivier wrote: > Hello, it's me again. I now find I'm having a more basic problem with gcc. A > week or so ago, I typed in code for "Hello, World!" to see what happens. I > did gcc hello.c on the source code file, in my shell environment, and then > typed "hello" at the command prompt and got "Hello, World!" Fine. > > I then installed some packages that seemed to be missing from glibc for gcc > and make. I was able to get something to happen for a mysql program I'm > working on (I think). However, I just now try to go back and do gcc on a > program similar to Hello world to see if everything is working. I now get > "Permission denied" error messages when I enter the compiled program name at > the command prompt. I don't remember changing directories for any of these > programs, and I'm still using my regular non-root user account, so any ideas > on what I mucked up? Then you used gcc -o hello hello.c and that generated the output in hello. Now you didn't and it put the output in the default place: a.out. Try to run a.out. florin -- "If it's not broken, let's fix it till it is." 41A9 2BDE 8E11 F1C5 87A6 03EE 34B3 E075 3B90 DFE4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020317/a3539a5b/attachment.pgp