Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
linker was not configured to use sysroots
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mencaraglia francesco  
View profile  
 More options May 5 2012, 3:38 am
Newsgroups: gnu.gcc.help
From: mencaraglia francesco <f.mencarag...@gmail.com>
Date: Sat, 05 May 2012 09:38:52 +0200
Local: Sat, May 5 2012 3:38 am
Subject: linker was not configured to use sysroots
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

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-
bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-
suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-
zlib
--libexecdir=/usr/lib --without-included-gettext --enable-
threads=posix
--with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-
nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --
enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --
enable-objc-gc --enable-targets=all --disable-werror --with-
arch-32=i686 --with-tune=generic --enable-checking=release --
build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Haley  
View profile  
 More options May 5 2012, 4:14 am
Newsgroups: gnu.gcc.help
From: Andrew Haley <andre...@littlepinkcloud.invalid>
Date: Sat, 05 May 2012 03:14:21 -0500
Local: Sat, May 5 2012 4:14 am
Subject: Re: linker was not configured to use sysroots

This is wrong:

> --with-sysroot=/

With a native compiler you don't want a sysroot.

Andrew.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
m_filter  
View profile  
 More options May 8 2012, 11:00 pm
Newsgroups: gnu.gcc.help
From: m_filter <minwei1...@gmail.com>
Date: Tue, 8 May 2012 20:00:40 -0700 (PDT)
Local: Tues, May 8 2012 11:00 pm
Subject: Re: linker was not configured to use sysroots
hello, i have the same problem,do you have solved it?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
martin.azkar...@gmail.com  
View profile  
 More options Jun 21 2012, 12:31 pm
Newsgroups: gnu.gcc.help
From: martin.azkar...@gmail.com
Date: Thu, 21 Jun 2012 09:31:34 -0700 (PDT)
Local: Thurs, Jun 21 2012 12:31 pm
Subject: Re: linker was not configured to use sysroots
Hello there,
Did any of you find the solution the that problem?
I am having exactly the same issue since I upgraded to ubuntu 12.04...

Andrew it seems you know what is wrong but could you tell me how to fix that?

Thanks,

El sábado, 5 de mayo de 2012 09:38:52 UTC+2, mencaraglia francesco  escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »