PDA

View Full Version : File Organization, CWD Not Answer



JupiterV2
May 15th, 2008, 05:34 PM
Q1. Where, in Linux/Unix, should files be placed that are to be loaded at runtime? Like dictionaries, images, etc.?

Q2. How can GNU auto* be taken advantage of to place these files in the appropriate location and then provide a #define into config.h so a macro definition can be inserted into the code?

I can't seem to find any info on this anywhere...even a link would be nice.

JupiterV2
May 16th, 2008, 08:47 PM
Bump

dwhitney67
May 16th, 2008, 09:33 PM
Read this wiki on the Filesystem Hierarchy Standard (http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) -- hopefully this will assist you with an answer to your question.

P.S. Consider /opt for application, and /etc/opt for config files, etc.