This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: compiling gcc


Tim Baker wrote:
> ...
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot
> create executables.
> bash$
> 
> Why is this?  Has anyone successfully built a gcc cross-compiler for
> m68k
> on NT?  Any help is greatly appreciated.  Thanks.
> 

If you have mounted your directories as text=binary you have to make
sure that the compiler's specs file is in UNIX text format (without
\r at the line ends). You will find the path to the specs file with
gcc --print-file-name specs 
(assuming your GCC_EXEC_PREFIX environment variable is set correctly)
Your specs file is probably in DOS text format. Convert it to the
UNIX format.

This appears to be a common problem and should be a candidate for the
FAQ.
-- 

Gunther Ebert
iXOS Anwendungs-Software GmbH
Angerstrasse 40-42
D-04177 Leipzig

Phone : +49 341 48503-0
Fax   : +49 341 48503-99
E-mail: mailto:gunther.ebert@ixos-leipzig.de
www   : http://www.ixos-leipzig.de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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