This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: gcc 4.1.2 - Compile error with cygwin


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


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