Hello,
This is my first post here. I recently installed Cygwin again
after my harddisk crashed and had to be formatted and all. I mainly
use an ELF cross compiler for doing OS dev. So it was when I tried to
compile a simple app using the normal GCC that I ran into this error.
$ gcc -mno-cygwin
Hello,
It still doesnt work. I reinstalled all the GCC and GCC-mingw
packages. The cc1.exe is present. But it still doesnt work.
Here is output of ls -l /usr/lib/gcc/i686-pc-mingw32/3.4.4/
$ ls -l /usr/lib/gcc/i686-pc-mingw32/3.4.4/
total 1234
-rwxr-xr--+ 1 Tom Users 547 Jan 6 20:44 cc1.e
Hello,
Come to think of it, I had removed the read only stuff when it
drove me nuts with silly errors when I tried to delete or move files.
But not on C drive. Anyway, I removed those links using the script you
said and reinstalled. Now ls lists them correctly
$ ls -l /usr/lib/gcc/i686-pc-ming
from
within the directory /usr/lib/mingw .See this:
[EMAIL PROTECTED] /usr/lib/mingw
$ gcc -mno-cygwin ~/hello.c
/usr/bin/ld: cannot find -lmingw32
collect2: ld returned 1 exit status
~
Thomas
On 1/12/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:
Thomas Antony wrote:
> Hello,
>
nstall the whole thing.
~
Thomas
On 1/13/07, Dave Korn <[EMAIL PROTECTED]> wrote:
On 13 January 2007 11:26, Thomas Antony wrote:
> Hello,
>The file crt2.o is present in /usr/lib/mingw. But the error remains
> the same.
>
> [EMAIL PROTECTED] ~
> $ gcc -mno-cygwin hell
5 matches
Mail list logo