I have a patch that allows you to specify a different directory than the
host source directory.
That means :
- you compile on a PC, sources in e.g. /home/danny/src/prog.c
- by default, gcc compiles in a path /home/danny/src in which the
executable will try to store its profile information
- that is not always present on the mobile device
- there is a way to change this directory at run time, but that
isn't always easy (it isn't on CE)
- so I've added a way to specify a different directory at compile
time, meaning I can override the directory that gcc puts in the
object file
I've been wanting to submit the code but didn't get around to it yet.
Should I clean it up and submit ?