bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gcc-3.3.2 compilation error

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
torojose



Joined: 26 Jul 2010
Posts: 12

PostPosted: Thu Jul 29, 2010 11:05 am    Post subject: gcc-3.3.2 compilation error Reply with quote

Hello everybody,

I have got a problem compiling the "gcc-3.3.2" that can be download from your page:

Code:

gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./. -I./config -I./../include ./read-rtl.c -o read-rtl.o
In file included from ./read-rtl.c:24:
./rtl.h:132: warning: type of bit-field ?code? is a GCC extension
./rtl.h:135: warning: type of bit-field ?mode? is a GCC extension
./read-rtl.c: In function ?fatal_with_file_and_line?:
./read-rtl.c:53: warning: traditional C rejects ISO C style function definitions
./read-rtl.c: In function ?read_rtx?:
./read-rtl.c:653: error: lvalue required as increment operand
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/home/jose/bladox/gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2



Any idea about why this error?

Best regards,

Jose
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Tue Aug 03, 2010 6:17 am    Post subject: Reply with quote

New gcc cannot compile old gcc.

You may get precompiled linux devel at http://bladox.com/pub/avr1.tgz

Untar it in /usr
Back to top
PeregrineFalcon



Joined: 03 Mar 2011
Posts: 6

PostPosted: Thu Mar 03, 2011 7:15 pm    Post subject: Reply with quote

The file at http://www.bladox.com/pub/avr1.tgz appears to be corrupt. After downloading and trying to untar it I get:

Code:
tar: Exiting with failure status due to previous errors


Any help fixing this would be great.
Back to top
View user's profile Send private message
PeregrineFalcon



Joined: 03 Mar 2011
Posts: 6

PostPosted: Thu Mar 03, 2011 7:33 pm    Post subject: Reply with quote

Oh and if you want to build gcc yourself here are the steps to do it under Fedora (14) in my case.

Code:
yum install compat-gcc-34 compat-gcc-34-c++ compat-libstdc++-33.i686
export CC=gcc34
./configure --target=avr --enable-languages=c
make && make install
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group