This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with $prefix in gcc.c


  In message <3913592B.29047.7CE61@localhost>you write:
  > Hi folks,
  > In the effort to get GCC  to work with DJGPP without need to maintain 
  > patches, I found that setting STANDARD_EXEC_PREFIX to "$DJDIR/lib/gcc-lib/"
  > doesn't work very well. (DJDIR is an environment variable that 
  > contains the directory where a developer has installed DJGPP.) This
  > problem is made worse in the gcc.c in gcc  2.96 which now uses
  > 'make_relative_prefix' to set GCC_EXEC_PREFIX. This does 
  > not work when using prefixes starting with '$' . I'm not sure of the best
  > solution, but here is one that  I'd like to float:
I do not think we want to use your approach on systems where '$' is a valid
character for a file/directory name (like most/all unix systems).

I think you might be best off just expanding $DJDIR when you set
STANDARD_EXEC_PREFIX.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]