LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2004, 03:13 PM   #1
mandrakemikael
Member
 
Registered: Aug 2004
Distribution: gentoo <3
Posts: 39

Rep: Reputation: 15
trying to install mspgcc, make says libgcc.S has errors


I am trying to install mspgcc, a GNU c-compiler for a TI microcontroller MSP430.

I have gcc-core-3.2.3 with the custom headers & config files from sourceforge cvs repository.

$ ./configure --target=msp430 --prefix=/usr/local/msp430

ok. no errors.

$ make

processes for a while, then gives errors..

config/msp430/libgcc.S: Assembler messages:
config/msp430/libgcc.S:11: Error: junk `(r1)' after expression
config/msp430/libgcc.S:11: Error: too many memory references for `sub'
config/msp430/libgcc.S:12: Error: no such instruction: `subc 4(r1),r13'
config/msp430/libgcc.S:13: Error: no such instruction: `subc 6(r1),r14'
config/msp430/libgcc.S:14: Error: no such instruction: `subc 8(r1),r15'
...
etc

here are the referred lines from libgcc.S:
Code:
__cmpdi2:
	sub     2(r1), r12	; a = a-b;
	subc    4(r1), r13
	subc    6(r1), r14
	subc    8(r1), r15
libgcc.S may be found here: http://cvs.sourceforge.net/viewcvs.p...gcc.S?rev=1.10

I'm not that knowledgeble in asm to fix that problem by myself. any help, please?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make install errors in vsftpd swatward Linux - Software 4 09-20-2005 09:47 PM
'Make install' errors lazwaz Red Hat 2 05-21-2005 05:03 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
make install errors on kernel harrycrumb11 Linux - General 5 10-06-2003 08:31 PM
Xine errors on Make install? rlculver Linux - Software 9 08-17-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration