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


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?

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 /


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?
>
>


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