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]

Re: gcc_tooldir is useless


Den 28-Sep-99 15:57:09 skrev Jeffrey A Law fĝlgende om "Re: gcc_tooldir is useless ":

> But I don't see why you want or need $tooldir/include to work.

   Because:
   1) This is what the documentation says you should use.
   2) This is where you will have the header files installed afterwards in
      order for the installed cross compiler to work.
   3) If you have previously built a cross compiler for this target,
      the header files are already installed there.
   4) $(tooldir) is also where you have the cross libraries, cross
      as/ar/ld/ranlib, etc. installed.

> The documented way to provide headers for a cross compiler is the 
> --with-headers options.  If you're doing something different, then I'm not
> surprised it doesn't work.  Follow the instructions for building a cross
> compiler and it should work just fine.

   Jeff, please have a look at the documentation, i.e. your favourite
conversion of gcc.texiı. Go to the "Installation" section. Go to the
"Cross-compiler" section. Go to the "Cross Headers" section. Notice how you
are told to install the cross headers in /usr/local/TARGET/include, which,
assuming --prefix=/usr/local, is exactly $(tooldir)/include.

   IMHO it is clearly a bug for the build process to use
$(gcc_tooldir)/include, which does not yet exist, instead of
$(tooldir)/include.

----------
ı Or just go to <URL:http://egcs.cygnus.com/onlinedocs/gcc_3.html#SEC56>.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.k-net.dk  |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 866 kkeys/s (RC5-64)    | "ThrustMe" on XPilot, ARCnet and IRC  |
|    The impossible is only something that hasn't happened to you yet.   |


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