On Mon, Aug 22, 2022 at 01:55:15AM -0300, Daniel Franzini wrote:
> * I need help in order to add one more option to the configure script: the
> ability to set the gputils path at configure time and use it as the default
> (of course, the command line option will always have the priority but it is
> difficult e.g. to run the test suite using a newer build of gputils
> installed in a custom path. The configure script simply detects and uses
> the gputils but I don't have a chance to point it to one build of mine
> (newer, more supported chips). Can anyone help?

Hi Daniel.

A good and non-intrusive way is to use the PATH environment variable. In
bash, you would do

$ export PATH=/path/to/my/own/gputils/bin:$PATH.

Generally, when calling programs from make, you should be able to
override/interfere as in

$ make CC=/my/other/compiler/bin/cc.

This is broken in a few places, for some tools, perhaps including
gputils. Please fix it, if you need it.

Thanks
felix


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to