<snip>
I am working on that to give you a clear example of what happens. I made a simple test program using a module that contains the {$L } directive and gp worked perfectly, even recompiling the c source when necessary. But with the real life application it fails repeatedly. I am trying to find the pattern and will let you know.
I found what is going on: I specify --object-destination-path=obj/dbg to gp. This option - as mentioned in a previous post - is not passed to gpc but I found that it is passed gcc so the gpc objects are in the gpi directory and the ones from gcc in obj/dbg. So the C objects are correctly compiled but not retrieved by gpc unless I put --object-path=obj/dbg option to gp.
I think this is a consequence of the fact that gp ignores the --object-destination-path option when it calls gpc. I will try to solve this one, if you agree.
Regards
Pascal Viandier pascal@accovia.com