This is the mail archive of the gcc@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]

more hardcoded paths


ok,

here are a couple more hardcoded paths.. I know the i370 port is 'dead' but 
are the others deprecated as well?

Ed

(ps - its unfortunate that the i370 port is dead, because that's the one I'm trying to 
get to work - it gives the error:

 IEW2555E 4602 END OF OBJECT MODULE FOUND BEFORE END RECORD.                    
 IEW2307E 1032 CURRENT INPUT MODULE NOT INCLUDED BECAUSE OF INVALID DATA.       
 IEW2785S D21A AN ATTEMPT TO OBTAIN FILE STATISTICS FOR PATHNAME                
          /usr/local/lib/gccmain.o  FAILED. 'HFS ISSUED RETURN CODE 00000081    
          AND REASON CODE 053B006C.                                             
 IEW2456E 9207 SYMBOL GCSTDERR UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM   
          THE DESIGNATED CALL LIBRARY.                                          
FSUM3065 The LINKEDIT step ended with return code 12.

when I try to run anything, because I can't install in /usr/local/lib and I've got a 
hardcoded dependency somewhere on gccmain.o being in /usr/local/lib) 

----
gcc/gcc.c:
----

#ifndef STANDARD_EXEC_PREFIX
#define STANDARD_EXEC_PREFIX "/usr/local/lib/gcc-lib/"
#endif
#ifndef STANDARD_STARTFILE_PREFIX
#define STANDARD_STARTFILE_PREFIX "/usr/local/lib/"
#endif
#ifndef TOOLDIR_BASE_PREFIX
#define TOOLDIR_BASE_PREFIX "/usr/local/"
#endif
#ifndef STANDARD_BINDIR_PREFIX
#define STANDARD_BINDIR_PREFIX "/usr/local/bin"
#endif

static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
static const char *const standard_exec_prefix_1 = "/usr/lib/gcc/";
static const char *md_exec_prefix = MD_EXEC_PREFIX;

static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
static const char *const standard_startfile_prefix_1 = "/lib/";
static const char *const standard_startfile_prefix_2 = "/usr/lib/";

----
gcc/protoize.c:
----

#ifndef STANDARD_EXEC_PREFIX
#define STANDARD_EXEC_PREFIX "/usr/local/lib/gcc-lib/"
#endif  /* !defined STANDARD_EXEC_PREFIX */

----
gcc/config/lynx-ng.h
----

#define MD_EXEC_PREFIX "/usr/local/lib/gcc-"

----
gcc/config/i370/oe.h
----

----
gcc/config/i386/cygwin.h
----

#define STARTFILE_SPEC "/usr/local/lib/gccmain.o"

#ifdef CROSS_COMPILE
#define CYGWIN_INCLUDES "%{!nostdinc:-idirafter " CYGWIN_CROSS_DIR "/include}"
#define W32API_INC "%{!nostdinc:-idirafter " CYGWIN_CROSS_DIR "/include/w32api}"
#define W32API_LIB "-L" CYGWIN_CROSS_DIR "/lib/w32api/"
#define CYGWIN_LIB CYGWIN_CROSS_DIR "/lib"
#define MINGW_LIBS "-L" CYGWIN_CROSS_DIR "/lib/mingw"
#define MINGW_INCLUDES "%{!nostdinc:-isystem " CYGWIN_CROSS_DIR "/include/mingw/g++-3 "\
               "-isystem " CYGWIN_CROSS_DIR "/include/mingw/g++ "\
               "-idirafter " CYGWIN_CROSS_DIR "/include/mingw}"
#else
#define CYGWIN_INCLUDES "%{!nostdinc:-isystem /usr/local/include "\
                   "-idirafter " CYGWIN_CROSS_DIR "/include "\
                   "-idirafter /usr/include}"
#define W32API_INC "%{!nostdinc:"\
              "-idirafter " CYGWIN_CROSS_DIR "/include/w32api "\
              "-idirafter /usr/include/w32api}"
#define W32API_LIB "-L" CYGWIN_CROSS_DIR "/lib/w32api/ -L/usr/lib/w32api/"
#define CYGWIN_LIB "/usr/lib"
#define MINGW_LIBS "-L/usr/local/lib/mingw -L/usr/lib/mingw"
#define MINGW_INCLUDES "%{!nostdinc:-isystem /usr/include/mingw/g++-3 "\
               "-isystem /usr/include/mingw/g++ "\
               "-isystem /usr/local/include/mingw "\
               "-idirafter " CYGWIN_CROSS_DIR "/include/mingw "\
               "-idirafter /usr/include/mingw}"


----
gcc/config/rs6000/linux64.h
----

#ifdef NATIVE_CROSS
#define STARTFILE_PREFIX_SPEC "/usr/local/lib64/ /lib64/ /usr/lib64/"
#endif


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