[Gambas-devel] Re: executable, Use behavior, bug?
Christian Faure
christian.faurebouvard at ...156...
Thu Dec 9 22:09:36 CET 2004
Hi Benoît,
After somes tests with USE keyword, i obtained this result:
FALSE:
It searches for an archive named Archive in the directory where the running
project or the running executable is located.
TRUE:
Next, it searches for a Gambas project named Archive in the same place, with a
compiled executable present.
Is only my case?
Is outdated doc?
or a small bug?
For the problem with generate an executable at correct location,
i change the proposed directory, Generation Ok, Copy generated file to
proposed directory.
To find the problem i have added a printf in gbx_archive.c to function
ARCH_add like:
PUBLIC void ARCH_add(const char *path)
{
....
if (stat(arch_path, &info) != 0){
printf("ARCH_Add(%s) \n %s \n",path,arch_path);
THROW(E_LIBRARY, path, "File not found");
}
ARCH_create(arch_path);
}
it show the path used by the USE keyword.
Regards,
Christian
More information about the Devel
mailing list