This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.1.2 - Compile error with cygwin
- From: Brian Dessent <brian at dessent dot net>
- To: anitha boyapati <anitha dot boyapati at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 27 Feb 2007 10:29:35 -0800
- Subject: Re: gcc 4.1.2 - Compile error with cygwin
- References: <f4c211e90702271000mf581af8vffd04ef35e82c288@mail.gmail.com>
- Reply-to: gcc-help at gcc dot gnu dot org
anitha boyapati wrote:
> E:\gnu\gcc_compile\gcc-4.1.2\host-i686-pc-cygwin\gcc>make
> echo | ./xgcc -B./ -B/usr/local/i686-pc-cygwin/bin/ -isystem
> /usr/local/i686-pc-cygwin/include -isystem
> /usr/local/i686-pc-cygwin/sys-include
> -L/cygdrive/e/gnu/gcc_compile/gcc- 4.1.2/host-i686-pc-cygwin/gcc/../ld
> -E -dM - | \
> sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
> -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
> sort -u > tmp-macro_list
>
> -uThe system cannot find the file specified.
> make: *** [s-macro_list] Error 1
This error means you have the Windows version of sort ahead of the
Cygwin version of sort (/usr/bin/sort) in your PATH. Obviously, the
Windows version of sort is completely different and will have no idea
how to handle POSIX paths or POSIX options, so you need to fix your
PATH.
Brian