This is the mail archive of the crossgcc@sources.redhat.com 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: version GLIBC_2.0 not defined for libc


Sangmoon Kim wrote:
I'm trying to compile gcc on cygwin using crosstool-2.0.
I compiled gcc-3.3.1 and glibc-2.3.2 for ppc750.
The following error occured while compiling glibc.
And the process of compiling stoped.

  cat /c/crosstool-0.20/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/Versions.v \
  | LC_ALL=C gawk -v buildroot=/c/crosstool-0.20/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/ -v defsfile=/c/crosstool-0.20/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/Versions.all \
                    -v move_if_change='/bin/sh.exe scripts/move-if-change' \
                    -f scripts/versions.awk; \
) > /c/crosstool-0.20/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/sysd-versionsT
version GLIBC_2.0 not defined for libc

You're not the first to run into this. See http://sources.redhat.com/ml/bug-glibc/2002-11/msg00154.html His own reply says it looks like a newline problem in Versions.all. How do you have Cygwin configured -- are you using Windows-style (CRLF) text format? If so, try switching to Unix-style (LF) text format on a fresh install of Cygwin...

About 2 years ago I was unable to compile glibc under cygwin .
Is it true until now?

I don't know. There is less pressure to get this working than, say, getting glibc to build there, since you can just copy the compiled glibc from a Linux system. I am interested in seeing crosstool work on Cygwin, but haven't had an excuse to try it myself and work through the issues. - Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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