None of gcc, as, ld can produce such an error message. Possible messages are: gcc: operand number out of range line number out of range integer constant out of range assembler: internal error: out of range error internal error: unsupported relocation error
The last ones can happen when you convert to int or long from char*. This is described in doc.txt. So, to analyse this problem I need sources. Can you send me preprocessed files? ~d On Monday 16 December 2002 12:02, Nanko wrote: > When I compile a .c file with many (62 bytes total) local variables in one > function, i receive an error like this: C:\Temp\[someletters].s: index out > of range [-528] > When I make some of these variables global, program compiles normally. What > could it be? Are there some restrictions on local vars, and what are they? > Or this is a bug? P.S. cpu: msp430F149, data size: ~1.1 K (~0.9K free), > win32 compiler binaries used. -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/