This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
where my executable is
- To: gcc-help at gcc dot gnu dot org
- Subject: where my executable is
- From: Anni Hienola <Anni dot Hienola at helsinki dot fi>
- Date: Mon, 24 Sep 2001 10:35:46 +0300
- Organization: University of Helsinki
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