Help!

Goofy problem


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development RSS
Next:  Is there any IDE similar to Visual Studio under L..  
Author Message
Mike
External


Since: Apr 06, 2007
Posts: 7



PostPosted: Wed Jul 11, 2007 3:58 pm    Post subject: Goofy problem
Archived from groups: comp>os>linux>development>apps (more info?)

I have a program that will run fine under gdb but fails to even start when
executed at a shell prompt. It's the same executable. I don't even get the
initial "Welcome" printf message which is line 1 after main().

Again, this works fine if I gdb executablename and run it.

Any ideas as I'm fresh out at the moment.

TIA
Back to top
Georg Acher
External


Since: Jul 21, 2006
Posts: 7



PostPosted: Wed Jul 11, 2007 4:05 pm    Post subject: Re: Goofy problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Mike" <mkejohnston.DeleteThis@yahoo.com.nospam> writes:
>I have a program that will run fine under gdb but fails to even start when
>executed at a shell prompt. It's the same executable. I don't even get the
>initial "Welcome" printf message which is line 1 after main().
>
>Again, this works fine if I gdb executablename and run it.
>
>Any ideas as I'm fresh out at the moment.

The name for executable is "test"?
--
Georg Acher, acher.DeleteThis@in.tum.de
http://www.lrr.in.tum.de/~acher
"Oh no, not again !" The bowl of petunias
Back to top
Mike
External


Since: Apr 06, 2007
Posts: 7



PostPosted: Wed Jul 11, 2007 4:12 pm    Post subject: Re: Goofy problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Doh! It's not but was loading a diff executable thanks to "which".

I can't believe I didn't think that through...

Thanks much
"Georg Acher" <acher.TakeThisOut@in.tum.de> wrote in message
news:f72v3o$rfh$1@news.lrz-muenchen.de...
> "Mike" <mkejohnston.TakeThisOut@yahoo.com.nospam> writes:
>>I have a program that will run fine under gdb but fails to even start when
>>executed at a shell prompt. It's the same executable. I don't even get
>>the
>>initial "Welcome" printf message which is line 1 after main().
>>
>>Again, this works fine if I gdb executablename and run it.
>>
>>Any ideas as I'm fresh out at the moment.
>
> The name for executable is "test"?
> --
> Georg Acher, acher.TakeThisOut@in.tum.de
> http://www.lrr.in.tum.de/~acher
> "Oh no, not again !" The bowl of petunias
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum