mencaraglia francesco <
f.menc...@gmail.com> wrote:
> I am using Linux/Kubuntu OS. I have recently updated to 12.04 and I am
> getting problem with gcc. Using the simple program
>
> #include <stdio.h>
> main()
> {fprintf(stdout,"hello world\n");
> return 0;
> }
>
> the compilation (gcc -c test.c) is ok but when I try to link (gcc
> test.o) I get
> /usr/local/bin/ld: this linker was not configured to use sysroots
> collect2: ld returned 1 exit status
>
> the loader ld is version 2.22 (as obtained using ld --version) and gcc
> is the 4.6 release (gcc -v ) more details below.
>
> Before the update everything was running smoothly so I thing that
> during the update I have done something wrong. Ay suggestion welcome