Executable creation time w/o windows

I have been looking for a way to control time elapsed since creation (installation) and current time. I plan to use this for a simple licence check.
I have found ways doing this with GetFileAttribute() and similar windows.h functions. But now I need to exclude as much windows dependencies as possible. Is there a way to get the file creation time of the current executable file (or dll)?? Any help on this would be appriciated!
Is there a way to get the file creation time of the current executable file (or dll)??
Not all filesystems save creation time at all, and not all OS provide easy access to it.
Linux for example do not always store birth time:
http://stackoverflow.com/questions/3814349/c-how-to-modify-a-files-created-timestamp
However some modifications do allow to access filesystem field storing it through some additional commands or additional parameters to existing ones.

Even Boost does not provide it as it would be impossible to make it portable.
Topic archived. No new replies allowed.