Paolo Bonzini wrote:
For programs' resources instead the resources should be found in a path
related to the program's path. You can also use the relocatable.c file
here. In general, this part is easier to do since most platforms
including Mac OS X have a way to find the executable.
_NSGetExecutable returned garbage last time I used it, so I'd favour the
same method as for libraries: libdl.
On Tiger I get...
Seems my bad. Taking that back. I have traced down my bug, now works as
expected.
xen:/Volumes/Feptan/GTK-Fw/ppc/pkg-config OCTAGRAM$
/Volumes/Feptan/GTK-Fw/out/GTK.framework/Versions/Current/Frameworks/PkgConfig.framework/Tools/pkg-config
My path is
/Volumes/Feptan/GTK-Fw/out/GTK.framework/Versions/Current/Frameworks/PkgConfig.framework/Tools/pkg-config
Must specify package names on the command line
--
If you want to get to the top, you have to start at the bottom