This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcj -fCLASSPATH=... home folder expansion


I've just had a minor issue/feature with the -fCLASSPATH option:

-fCLASSPATH=/home/erik/myjars/aparticularjar.jar
versus
-fCLASSPATH=~/myjars/aparticularjar.jar

Anywhere else (as far as I know), gcj will expand '~/' to '/home/erik'.
Is there a reason why -fCLASSPATH doesn't do that?

By the way, I'm writing up some kind of generator that creates (bash
script) building instructions. I really would like to avoid instructions
that contain '/home/erik'. I'd rather have more portable output that
says '~/'.


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