This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Strange problem with cygwin and arm-uclibc toolchain build


Sorry if I am a little vague on the info, I can fill in any info on request.

I have 2 machines, 1 is a 1.2GHZ athlon running Mandrake 9.0, and the
other is a 2000+XP Athlon running Windows 2000 SP3 and the current
download version of cygwin. The application is the toolchain makefile
located on the uclibc.org website (http://www.uclibc.org/, 
http://www.uclibc.org/cgi-bin/cvsweb/toolchain/gcc-3.2.1/).
I am trying to build an arm toolchain using GCC 3.2.1 and uCLibc.

The toolchain builds correctly under linux. The makefile completes
correctly with no errors.

The toolchain will not build under cygwin. After applying the perl fix
(perl -iv instead of perl -i to fix the relink issue) to the makefile, the compile
gets to another perl command before dying:

------------------------
#
# Hack things to use the correct shared lib loader
#
(cd /usr/install/gcc-3.2.1/build/gcc-3.2.1; set -e;\
        export LIST=`grep -lr -- "-dynamic-linker.*\.so[\.0-9]*" *`;\
        perl -iv -p -e "s,-dynamic-linker.*\.so[\.0-9]*},-dynamic-linker
/lib/ld-uClibc.so.0},;" $LIST);
export: gcc/config/alpha/freebsd.h: bad variable name
make: *** [/usr/install/gcc-3.2.1/build/gcc-3.2.1/.gcc_build_hacks] Error 2

------------------------------------
has anybody tried this toolchain on cygwin, and if so, how did they resolve this
error?

Thanks for any help!!

George Najarian
Najay Engineering



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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