From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anni Hienola To: gcc-help@gcc.gnu.org Subject: where my executable is Date: Mon, 24 Sep 2001 00:35:00 -0000 Message-id: <3BAEE252.D4D362C3@helsinki.fi> X-SW-Source: 2001-09/msg00107.html 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