This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling GCC with -rpath
- To: gcc-help at gcc dot gnu dot org
- Subject: Re: Compiling GCC with -rpath
- From: Mike Pelley <mike at solidum dot com>
- Date: Thu, 23 Aug 2001 11:28:38 -0400
- Organization: Solidum Systems Corp.
- References: <3B85181F.AB3CC174@solidum.com>
> However, a lot of the compile lines include both CFLAGS and CPPFLAGS and
> the make dies if the flags are included twice. How can I have these
> flags applied against each dynamically linked executable only once?
This is not a problem after all, I made an unrelated mistake.
When cross compiling, the gcc make install puts a copy of cross tools in
exec-prefix/bin prefixed with the target name, and another copy in
exec-prefix/target/bin without the prefix. 3.0.1 doesn't put gcj in the
second location, only the first, so I hard linked the bin/target-gcj to
target/bin/gcj.
Basically, I forgot the hard link the last time through and tested the
wrong build of gcj.
Sorry! Mike.