I have a project that has been compiling with no problem for months.  After
my most recent changes, however, I get the following error messages from the
linker when I try to compile with gcc:

Copmiled without '-g':
C:\windows\temp/ccBr5yoa.s:7189: Error: Signed .word overflow; switch may be
too large; 32792 at 0x48b8
repeated three times with different addresses at end.

Compiled with '-g':
/prc-tools/H-i586-cygwin32/m68k-palmos/lib/gcrt0.o(.text+0x50):crt0.c:
relocation truncated to fit: DISP16 __do_bhook
/prc-tools/H-i586-cygwin32/m68k-palmos/lib/gcrt0.o(.text+0x60):crt0.c:
relocation truncated to fit: DISP16 _GdbStartDebug
(repeats 3 more times with different functions)

/prc-tools/H-i586-cygwin32/m68k-palmos/lib/libcrt.a(single_dreloc.o)(.text+0
x30):dreloc.c: relocation truncated to fit: DISP16 start
(repeated for four more different .o files)

collect2: ld returned 1 exit status

Does anyone have any idea what might be wrong?  Here is my gcc command line:

gcc -O0 -g -mdebug-labels main.o -o prog

Any help would be much appreciated.  Thanks!
--Scott






-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to