This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

where my executable is


Is there a function that would give the absolute path to the directory
where my executable was executed from?

I've been searching the documentations and tutorials throughout the web
for this, without any success. It sounds so trivial that I wonder, why
it so hard to get.


Anni Hienola


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]