This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building and using a local version of GCC
- From: Mihnea Balta <dark_lkml at mymail dot ro>
- To: Matthieu Moy <Matthieu dot Moy at imag dot fr>, gcc-help at gcc dot gnu dot org
- Date: Mon, 24 Mar 2003 17:05:52 +0200
- Subject: Re: Building and using a local version of GCC
- References: <vpqk7eoq0ij.fsf@imag.fr>
Use the -B switch to tell the compiler where to find its own files. For more
information, take a look at the manpage, under that switch.
On Monday 24 March 2003 16:53, Matthieu Moy wrote:
> Hi !
>
> I'm able to configure and build gcc 3.2.2, but I'd like to "play" a
> little with the source code.
>
> To save time, I want to avoid having to do a 'make install' each time
> I modify the code. (just work on my local 'developer build')
>
> I just can't find the way to do it : If I set my PATH to objdir/gcc,
> then I can launch gcc, but it doesn't find all the include files. Even
> on a file without #include directives, I get this message :
> ld: cannot open crtbegin.o: No such file or directory
>
> Any idea ?