This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: Cygwin /tmp\foo behaviour



--- Trevor Forbes <trevorforbes@ozemail.com.au> wrote:
> So If I understand you correctly
> "/tmp\cc017659.base" should not link anyway
> as ld will always be looking for "/tmpcc017659.base"
> which will never exist?
> 

huh? Why should it never link?  It is an intermediate
file created by compiler.  

Something is wrong with your ENV.  As Chris wrote it
is
a problem in GCC released version.  I do not know
which version.  I am using GCC 2.95.2 from Cygwin
1.1.1 frist release in May, 2000.

> I have removed the TMP environment variable but it
> still has the same
> problem. I may need to rebuild it again:\
> 
> For Suhaib -- I have a /tmp directory under /

After reseting TEMP.

You need to do only the following, instead of a
complete rebuild.

make Makefiles

then

make depend

Followed by 

make

Suhaib

> 
> 
> Trevor
> 
> 
> ----- Original Message -----
> From: "Chris Faylor" <cgf@cygnus.com>
> To: "Cygwin-Xfree"
> <cygwin-xfree@sourceware.cygnus.com>
> Sent: Monday, 12 June 2000 10:16
> Subject: Re: Cygwin /tmp\foo behaviour
> 
> 
> > It looks like the released version of gcc is
> confused by a TMP environment
> > variable.  We're working on this but for now,
> unsetting it should work
> > fine.
> >
> > Btw, '\' is a shell quoting character so 'ls
> /tmp\foo' is the same thing
> > as 'ls /tmpfoo'.
> >
> > cgf
> >
> > On Sun, Jun 11, 2000 at 05:36:10PM -0700, Suhaib
> Siddiqi wrote:
> > >Do you have a /tmp directory under / ?  If there
> is no
> > >/tmp directory, make cannot write temporary files
> to
> > >it and you will indeed get "ld: cannot open
> > >/tmpfoo.exe: No such file or directory"
> > >
> > >--- Trevor Forbes <trevorforbes@ozemail.com.au>
> wrote:
> > >> When building Xfree I get the following error
> using
> > >> cygwin1.1.2
> > >>
> > >> rm -f libX11.a
> > >> rm -f libX11.dll
> > >> if [ -f /tmp/DLL_BASE_COUNTER ]; then true; \
> > >> else echo 0x67000000 > /tmp/DLL_BASE_COUNTER;
> fi
> > >> dllwrap -s --def X11.def --output-lib libX11.a
> -o
> > >> libX11.dll Context.o
> > >> Depths.o  ParseCmd.o  Quarks.o
> > >> >
> > >> parts removes
> > >> >
> > >> ..omTextPer.o  omXChar.o  junk.o  -image-base
> `cat
> > >> /tmp/DLL_BASE_COUNTER`
> > >>
> >
>
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/bin/ld:
> > >> Can't open base file /tmp\cc017659.base
> > >> collect2: ld returned 1 exit status
> > >> dllwrap: gcc exited with status 1
> > >> make[4]: *** [libX11.dll] Error 1
> > >> make[4]: Target `all' not remade because of
> errors.
> > >> make[4]: Leaving directory
> > >> `/e/build2/cygwin-xfree/lib/X11'
> > >>
> > >>
> > >> I assumed that "Can't open base file
> > >> /tmp\cc017659.base" is the problem?
> > >>
> > >> If I do a test
> > >> $ ld /tmp\foo.exe
> > >> ld: cannot open /tmpfoo.exe: No such file or
> > >> directory
> > >>                             ^^^^^^^^^^^
> > >> Is this the expected behaviour with the latest
> > >> Cygwin?
> > >>
> > >> Does any one else see the same problem or have
> I
> > >> done something wrong?
> >
> >
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

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