ts-7000
[Top] [All Lists]

RE: [ts-7000] problem w/ cygwin cross-compile "./configure"

To: <>
Subject: RE: [ts-7000] problem w/ cygwin cross-compile "./configure"
From: "Robert Bond" <>
Date: Tue, 25 Sep 2007 20:51:10 -0700

You might check out

 

http://cygwin.com/cygwin-ug-net/using-textbinary.html

 

I have seen this kind of behavior on Cygwin when the system is not expecting carriage returns.

 

            Bob

 


From: [mailto:] On Behalf Of tedapt
Sent: Tuesday, September 25, 2007 8:01 PM
To:
Subject: [ts-7000] problem w/ cygwin cross-compile "./configure"

 

I'm trying to cross-compile the gnu Classpath library 0.93 on cygwin.
When I attempt to configure the build I get these error, any ideas how
to fix this?

bash-3.2$ echo $PATH
/usr/bin:/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin:/cygdrive/c/Program
Files/emacs-20.7/bin:/cygdrive/c/Program
Files/emacs-20.7/gnuserv:/cygdrive/c/Program
Files/Java/jdk1.5.0_09/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
Files/MySQL/MySQL Server
5.0/bin:/cygdrive/c/apache-ant-1.6.5/bin:/cygdrive/c/Program
Files/pstools:/cygdrive/c/Program Files/syslinux/win32
bash-3.2$
bash-3.2$ ./configure
./configure: line 13: $'\r': command not found
./configure: line 21: syntax error near unexpected token `elif'
./configure: line 21: `elif test -n "${BASH_VERSION+set}" && (set
-o posix) >/dev/null 2>&1; then
'
bash-3.2$

Head of the classpath configure script follows:

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for GNU Classpath 0.93.
#
# Report bugs to <org>.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
set -o posix
fi
DUALCASE=1; export DUALCASE # for MKS sh

etc...

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU