-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave Murphy wrote:
> 
> I've been having some odd problems with relocation of 4.x toolchains - 
> i.e. when a toolchain is configured, built and installed with one prefix 
> but later moved to another location. The binaries appear to be checking 
> something in the old location before reading from the new path.

I might be mistaken, but I think this is intentional behaviour.

FWIW, I have faced a different toolchain relocation problem
in the GCC 4.1.0 release on MinGW. I configured and built
GCC using "--prefix=/mingw" on one machine where "/mingw"
maps to "D:\MiscAppz\MinGW" (I used MSYS as the build environment).
The compiler built, installed and ran fine on this machine.

However, when I moved the binaries to another machine
where MinGW was installed in "D:\MinGW", the compiler was
not able to find the C runtime headers, even though the
folder structure was exactly the same. It was however able
to find executables from binutils like as, ld, etc. I worked
around this problem temporarily by just specifying the system
include path explicitly in the CFLAGS of my programme's build
script.

There was another curious problem with this GCC, even on
the original machine where it was built: when run from within
the MSYS environment, everything was hunky-dory but when
run from the Windows command prompt, it used to give a
"_spawnvp: No such file or directory" error when one tried
to compile something.

Ranjit.

- --
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://rmathew.com/




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEPzXHYb1hx2wRS48RAgR1AJ4lR9FmGojMA27egIqWwkn6EK/UVwCdFJcj
q/oVB2PgULlWz0DEHUZgrQ8=
=iUfR
-----END PGP SIGNATURE-----

Reply via email to