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]

Sample directory structure


I just subscribed to this list, but I haven't gotten a confirmation yet, 
so I'd appreciate it if you could Cc: me directly on any replies.

I'm preparing to install egcs, and I'm confused on how to set up the 
directory structure.  An example would go a long way.

I'll be installing it on an HP C180 (HPUX-10.2).  I DO NOT have write 
access to the usual installation directories; all I have is a directory 
that I'll call /ecad.  Under /ecad we have a contrib directory with the 
usual subdirectories (bin, include, lib, etc) where we've been putting 
"user-installed" tools.  I want to set up for installing both a native 
egcs and one or more cross compilers (m68k for now, maybe ppc in the 
future).  I've set up a gcc cross-compiler in the past (under Linux), 
and the directory structure was very confusing.

I've read the on-line egcs config/build/install pages, but I'm unsure 
about where & how to set up the src, build, and install directories for 
both egcs and binutils.  The on-line docs talk about "make bootstrap" 
automatically building binutils if they've been "properly installed in 
the egcs source tree", but they don't say what this means.

Could someone draw me a picture :-) ?  If you could show an example 
"before & after" directory tree (ie, what I need to create, where to 
untar egcs and binutils, and what I'll have after the build and 
install), I'd appreciate it.  If you could indicate the proper place(s) 
to run the configure scripts (and the proper options), that'd help a 
lot, too.



P.S.  Here are a couple of related points I've been wondering about:

  1.  All I have on this machine is HP's default C compiler, not the 
"optional" ANSI one.  Is this even going to work?

  2.  Are the libraries and .o files generated by egcs at all compatible 
with the ones generated with HP's C compiler?  I have a 3rd-party 
program that will dynamically link in user-written code, and I was 
wondering if I could use it with code compiled with egcs.

Thanks.
--
John A. Breen
jab3@hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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