Re: [Anjuta-list] Executable works in command line, not anjuta
- From: Paulo Jorge de Oliveira Cantante de Matos <pocm netvisao pt>
- To: Naba Kumar <kh_naba gmx net>
- Cc: Anjuta List ML <anjuta-list lists sourceforge net>
- Subject: Re: [Anjuta-list] Executable works in command line, not anjuta
- Date: Thu Jan 8 03:54:00 2004
Thanks Naba,
Can you please help me with my CVS post?
Best regards,
Paulo Matos
On Thu, 2004-01-08 at 06:14, Naba Kumar wrote:
> On Wed, 2004-01-07 at 06:07, Paulo Jorge de Oliveira Cantante de Matos
> wrote:
> > On Tue, 2004-01-06 at 23:08, Nuno Marques wrote:
> > > regarding the executable path question, i just tested and it is executed
> > > in the src directory (or the directory you have in your project
> > > configuration, i presume)
> > >
> >
> > Strange, but why then it runs ok in command line and not in anjuta? the
> > program itselfs says it cannot open the file!
> >
> Generally, it's not a good idea to assume that the executatble will be
> run in it's own directory.
>
> If you want to access files inside src directory, say for testing
> purpose, use the PACKAGE_SOURCE_DIR macro, which is the directory of the
> executable.
>
> Regards,
> -Naba
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
--
Paulo J. Matos : pocm [_at_] mega . ist . utl . pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
- > http://mega.ist.utl.pt/~pocm
---
-> God had a deadline...
So, he wrote it all in Lisp!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]