implications and importance of --prefix?? what about -static in GCC_EXTRA_CONFIG?
David Haworth
david.haworth@3soft.de
Wed Nov 5 07:27:00 GMT 2003
On Tue, Nov 04, 2003 at 11:26:24PM -0800, Dan Kegel wrote:
> Urm... no need. It's relative to dirname(argv[0]), I think.
> Or are you using some automounter that gets in the way of things like `cd
> $foo/..; pwd`?)
Hi Dan,
I think I didn't explain myself very well. I'd like to build a
gcc that "knows" where its files are by looking at an arbitrary
(specified at build time) environment variable. I think this is
what Wind River do in the gcc that is deleivered with Tornado -
it appears to use WIND_BASE.
The problem is that dirname(argv[0]) doesn't always work on
Unix - depends how the program is started. On Windows I think it's
always OK. I've observed that on Windows, gcc3.3 seems to be able
to find itself no matter where you copy it to, withou using
the sysroot option.
Dave
--
David Haworth 3SOFT GmbH, Frauenweiherstr. 14, 91058 Erlangen
david.haworth@3soft.de Tel +49 9131 7701-154
http://www.3soft.de Fax +49 9131 7701-333
PGP Fingerprint: 3B95 445F B68A F72C 14D9 D257 0CB7 2D8A 770D C4BE
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list