This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [crosstool-ng] Internal compiler error with gcc 4.3.2 + patch


Le Wed, 5 Aug 2009 17:23:17 +0200,
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> a Ãcrit :

> WFM here:
> ./configure --local
> make
> ./scripts/addToolVersion.sh

Strange. Doesn't work for me, even starting from a pristine hg clone.
By any chance, do you have the current directory "." in your PATH ?
Because I don't.

See the following test:

thomas@surf:/tmp/tst$ cat foobar.sh 
#!/bin/sh
. "test.mk"
thomas@surf:/tmp/tst$ cat test.mk 
export foo=bar
thomas@surf:/tmp/tst$ echo $PATH
/home/thomas/sys/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
thomas@surf:/tmp/tst$ sh foobar.sh 
.: 2: test.mk: not found

Then, I add . to the PATH and try again:

thomas@surf:/tmp/tst$ export PATH=$PATH:.
thomas@surf:/tmp/tst$ sh foobar.sh 
thomas@surf:/tmp/tst$

It works, but only when '.' is in the PATH.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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