Hi Sergio, Here's what I got: msp430@msp430-Latitude-D610:~/temp$ gcc main.c /usr/local/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find crtbegin.o: No such file or directory /usr/local/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc /usr/local/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status
Should I reinstall gcc first and then install binutils? 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:scamp...@ing.puc.cl] Sent: Monday, June 27, 2011 4:38 PM Cc: mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] FW: MSPGCC Uniarch installation instructions 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á sergiocamp...@gmail.com 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:sergiocamp...@gmail.com] > Sent: Sunday, June 26, 2011 12:30 AM > To: mspgcc-users@lists.sourceforge.net > 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á > sergiocamp...@gmail.com > > > > > > ------------------------------------------------------------------------------ > 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 > Mspgcc-users@lists.sourceforge.net > 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 > Mspgcc-users@lists.sourceforge.net > 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 Mspgcc-users@lists.sourceforge.net 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 Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users