Bug 688083 - Build - Default search paths
Summary: Build - Default search paths
Status: NOTIFIED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.50
Hardware: PC Windows 2000
: P3 minor
Assignee: Stefan Kemper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 11:39 UTC by Tony Teveris
Modified: 2008-12-19 08:31 UTC (History)
1 user (show)

See Also:
Customer: 400
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Teveris 2005-05-10 11:39:45 UTC
Default search paths

I have a link on my desktop to D:\Omega16\GS\bin\gswin32.exe -? -dNOPAUSE

The "start in" folder is: D:\Omega16\GS\bin

folder layout

d:\omega16\gs
         bin
         fonts
         lib
         Resource
         toolbin

When I execute the link I see the search path as

, ; d:/gs850/gs8.50/lib ; d:/gs850/gs8.50/Resource ; d:/gs850/fonts

and for more information, see d:/gs850/gs8.50/doc/use.htm


The folder d:/gs850/gs8.50 is where I built the project from but it is
not where the final build will reside. In our overall installation we allow the
user to select where they wish to install the product, then we create a folder
layout uder their specified folder. Even though when I schedule the gswin32.dll 
from my code with the proper search paths if a user selects
to execute gswin32.exe from the installed folder I would like them to see the
correct location and information. I looked at the msvc32.mak but I'm not
sure this can be done from the standard default build.


Thanks in advance
Comment 1 Dan Coby 2005-05-10 11:48:51 UTC
The paths for finding initialization files, fonts, etc. can be specified on 
the Ghostscript command line.  See doc/Use.htm under 'How Ghostcript Finds 
files' for more information.
Comment 2 Tony Teveris 2005-05-10 11:54:52 UTC
I understand that but was wondering if the initial build could support better 
defaults. If not then no problem, but was wondering.
Comment 3 Alex Cherepanov 2005-05-11 03:32:53 UTC
Yes, you can select a different default search path by modifying
the variable GS_LIB_DEFAULT in the makefile.