[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot open crt1.o



Do you have libc6-dev installed? gcc only recommends libc6-dev,
because there are situations where you don't need it.

Squirrel writes:
> Dear all,
> 	I wrote some lines of codes like the following to verify if my gcc
> could work.
> 
> "int main()
> {
> 	int a,b;
> 	a=a+1;
> 	b=a+2;
> 	return 0;
> }"
> 	Then I typed "gcc-3.1 t2.c" in and it said "/usr/bin/ld:Can't open
> crt1.o:no such file or directory..."
> 
> when I make another file,
> "#include <stdio.h>
> int main()
> {
> 	printf("Hi\n");
> 	return 0;
> }
> when I compiled it,it told me many
> errors,"....../usr/lib/gcc-lib/mipsel-linux/3/1/include/stdio.h:555:parse error before "__THROW" t.c:2:syntax error befor "int""
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: