Hey Dovgych,
You have a problem with your installed version of gcc. If you see lines 91, 92,
and 93 of the config file, the linker process does not find the lib files. Try
upgrading your system to newer versions of binutils and gcc...
As a test, create a temp folder in your home
mkdir temp
cd temp
Then create a file with the bare minimum to compile, and compile it
echo "int main(){}" >> main.c
gcc main.c
It should work. If you get an error complaining about libgcc and libgcc_s, you
have a faulty gcc installation. Try that and tell me how it goes..
---------------------------------------
Sergio Campamá
[email protected]
On Jun 27, 2011, at 7:38 PM, Dovgych, Glib wrote:
> Hi all,
>
> I tried to follow the instructions in this guide, which are pretty much the
> same as in .patch files themselve, but still I did everything as it was
> written there.
> But on the step of running binutils ./configure I've got the same error as I
> got before, when I was trying to do the same following the instructions from
> .patch file:
>
> msp430@msp430-Latitude-D610:~/msp430/mspgcc-20110612/BUILD/binutils$ sudo
> ../../binutils-2.21/configure --target=msp430 --prefix=/usr/local/mspgcc 2>&1
> | tee co checking build system type... i686-pc-linux-gnu checking host system
> type... i686-pc-linux-gnu checking target system type... msp430-unknown-none
> checking for a BSD-compatible install... /usr/bin/install -c checking whether
> ln works... yes checking whether ln -s works... yes checking for a sed that
> does not truncate output... /bin/sed checking for gawk... no checking for
> mawk... mawk checking for gcc... gcc checking for C compiler default output
> file name...
> configure: error: in `/home/msp430/msp430/mspgcc-20110612/BUILD/binutils':
> configure: error: C compiler cannot create executables See `config.log' for
> more details.
>
> Config.log is attached.
>
> I'm using Ubuntu 10.10 but I'm a newby in Linux. Is it a problem with my
> Ubuntu version or am I doing something wrong?
>
> I've googled for this error and the most common problem is not-installed
> Build'essential package, which I have installed before starting this stuff.
>
> Will appreciate any help.
>
> Best regards,
> Glib
>
>
> Texas Instruments Deutschland GmbH, Haggertystr. 1, D-85356 Freising.
> Amtsgericht München HRB 40960. Geschäftsführer: Dr. Wolfram Tietscher.
> Vorsitzender des Aufsichtsrates: Edgar Frank
>
> -----Original Message-----
>
> From: Sergio Campamá [mailto:[email protected]]
> Sent: Sunday, June 26, 2011 12:30 AM
> To: [email protected]
> Subject: [Mspgcc-users] MSPGCC Uniarch installation instructions
>
> For the lazy people as me, here's a guide on how to install mspgcc uniarch on
> ubuntu, it has been tested on ubuntu server 11.04 64 bits edition. Should
> work on other versions too.
>
> https://github.com/sergiocampama/Launchpad/blob/master/README.md
>
> Regards!
> ---------------------------------------
> Sergio Campamá
> [email protected]
>
>
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security threats,
> fraudulent activity and more. Splunk takes this data and makes sense of it.
> Business sense. IT sense. Common sense..
> http://p.sf.net/sfu/splunk-d2d-c1
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2_______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users