This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Question About mount command for building development tools


Huang Qiang wrote:
> 
> All users of Cygwin should verify that their /tmp directory (or the
> directory specified by the TMPDIR, TMP or TEMP environment variables) is
> mounted in binary mode. If this is not the case the patches will apply, but
> the build will later fail. You may verify this using the Cygwin mount
> command. If /tmp is not explicitly listed, the entry for / will be used. If
> it says "textmode" for this entry, use the following command from a Cygwin
> bash prompt:
> 
>     mount -f -b c:/cygwin/tmp /tmp
> 
> You may need to substitute another path for c:/cygwin if Cygwin was
> installed to another directory.
> 
> Q: How could I check which is the directory specified by the TMPDIR, TMP or
> TEMP environment variables? which should be textmode which shold be binary
> mode?

echo $TMPDIR
echo $TMP
echo $TEMP

If any of these are set, make sure they are mounted in binary mode. If none
of them are set, make sure /tmp is mounted in binary mode.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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