This is the mail archive of the gcc-help@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]
Other format: [Raw text]

prefix, etc. with dollar or tilde?


Hey, um, given stuff like:
 
 
wallis$dkb500:[jaykrell.gnu]cc1.exe;1: error: /gnu/local/include: file specifica
tion syntax error
wallis$dkb500:[jaykrell.gnu]cc1.exe;1: error: /gnu/include: file specification s
yntax error
wallis$dkb500:[jaykrell.gnu]cc1.exe;1: error: /Users/jay/alpha-dec-vms/gcc/alpha
-dec-vms/4_5_0/include: file specification syntax error
wallis$dkb500:[jaykrell.gnu]cc1.exe;1: error: /Users/jay/alpha-dec-vms/gcc/alpha
-dec-vms/4_5_0/include-fixed: file specification syntax error
wallis$dkb500:[jaykrell.gnu]cc1.exe;1: error: /Users/jay/alpha-dec-vms/alpha-dec
-vms/include: file specification syntax error
wallis$dkb500:[jaykrell.gnu]cc1.exe;1: error: /gnu/include: file specification s

 
it might be nice if I could say e.g. -prefix=~/gnu.
  Currently prefix must be a full path.
 
 
Might also be nice for gcc to look in its own directory for cc1, or heck, even .h and .a/.lib files?
 
I've been using
 cd to gcc's directory
 gcc -B .
 
 
for now.
 
 
You know, I don't really know what I'm doing on VMS, including with regard to paths, and the support for Posixish paths seems to be a bit limited.
Stuff starting with ~ works though.
It is common for dollar signs to occur, which is not easy to get through the autoconf/make/sh pipeline. There's no way I'll be able to guess how to escape it just right, if it is even possible.
 
 
I wouldn't mind just getting the highly unstructured e.g.:
 
 
jbook2:gnu jay$ ls
addr2line.exe   cc1plus.exe     gcc.exe         pcrt0.o         strip.exe
alphavms.x      cpp.exe         gxx.exe         ranlib.exe      tgmath.h
alphavms.xbn    crtbegin.o      iso646.h        readelf.exe     unwind.h
alphavms.xn     crtbeginS.o     ld.exe          size.exe        varargs.h
alphavms.xr     crtend.o        libgcc.a        stdarg.h        vcrt0.o
alphavms.xu     crtendS.o       lto-wrapper.exe stdbool.h       vms-dwarf2.o
ar.exe          cxxfilt.exe     nm.exe          stddef.h        vms-dwarf2eh.o
as.exe          elfedit.exe     objcopy.exe     stdfix.h
cc1.exe         float.h         objdump.exe     strings.exe
 
I'm going to try some hacks like:
 
jbook2:gnu jay$ cat /src/gcc-4.5.0/gcc/config/vms/xm-vms.h
...
#define STANDARD_EXEC_PREFIX "~/gnu"
#define STANDARD_STARTFILE_PREFIX "~/gnu"
#define STANDARD_INCLUDE_DIR "~/gnu"
 
 
see if I can make progress..
 
 
 - Jay 		 	   		  


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