Subject: Re: compiling gcc
From: [email-masked] (Gunther Ebert)

20 Feb 1998 13:54:46 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Tim Baker <[email-masked]>
Cc: [email-masked]

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:[email-masked]
www   : http://www.ixos-leipzig.de
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".