|
From: | Paul Eggert |
Subject: | Re: Handling of links with portable dumper |
Date: | Sun, 7 Apr 2019 10:44:16 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Daniel Colascione wrote:
Paul, is there something in gnulib I can just link to?
Sorry, I've lost context. What function do you want? canonicalize_file_name? set_program_name_and_installdir? I'm not a big fan of the latter, as it's a portability heavyweight (it makes lots of assumptions and might not be applicable to Emacs).
I still think it'd be better to put the dump into the executable itself, which can be done portably simply by linking a big C character array into the executable. in the long run this will be better for users (and for us) than fiddling with portability minefields like set_program_name_and_installdir.
[Prev in Thread] | Current Thread | [Next in Thread] |