delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/09/13:18:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <2407239113CD914CBA855A47698F01B0F535@SUGAH2.triscend.com>
From: John Andrews <john AT triscend DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: arm-linux cross gcc build failure
Date: Fri, 9 Mar 2001 10:13:47 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Hold the presses...

I fat fingered the --prefix in the configure script.

It still doesn't build, but it's out of cygwin land and squarely into the
realm of crossgcc.

Sorry for the spurious post...

John E. A.

-----Original Message-----
From: John Andrews 
Sent: Friday, March 09, 2001 2:02 AM
To: 'cygwin AT cygwin DOT com'
Subject: arm-linux cross gcc build failure



Hi All,

I'm having trouble building an arm-linux cross compiler under cygwin.

I'd post this to the cross gcc list but I'm pretty sure my difficulty is
specific to the cygwin environment.

Below is the tail of the make output:

--begin make out--
gcc -DCROSS_COMPILE -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/usr/src/gcc-2.95.
2/gcc -I/usr/src/gcc-2.95.2/gcc/config -I/usr/src/gcc-2.95.2/gcc/../include
\
-DPREFIX=\"/usr/uClinux\" \
  -c `echo /usr/src/gcc-2.95.2/gcc/prefix.c | sed 's,^\./,,'`
In file included from /usr/include/w32api/windef.h:143,
                 from /usr/include/w32api/windows.h:96,
                 from /usr/src/gcc-2.95.2/gcc/prefix.c:69:
/usr/include/w32api/winnt.h:2266: two or more data types in declaration of
`type
 name'
make: *** [prefix.o] Error 1
--end make out--

I blindly tried find . -type f -exec dos2unix \{\} \; in the include
directory.

I have binutils configured for arm-elf-linux, built and installed, and used
the following config for gcc:

/usr/src/gcc-2.95.2/configure --target=arm-elf-linux \
--prefix=/usr/uClinux \
--exec-prefix=/usr/arm-uClinux/H-i686-pc-cygwin/arm-uClinux/bin \
--with-gnu-as --with-gnu-ld --with-newlib \
-v 2>&1 | tee configure.out

Any help would really be appreciated!

Thanks...

John E. A.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019