From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Simpkins, Andy" To: Jonathan Larmour , "Simpkins, Andy" Cc: ecos-discuss@sources.redhat.com Subject: RE: [ECOS] forwarded message from Simpkins, Andy Date: Mon, 20 Aug 2001 01:12:00 -0000 Message-id: <919A3A7F776FD311AFD600508B44A7F301795883@ramhqlon.transcomm.uk.com> X-SW-Source: 2001-08/msg00648.html Hi there, You suggested using GCC 3.0.1, obviously this is available, however the GNU website doesn't appear to have links to it! It was due for release 01-08-2001 but has been delayed - is there any other way to get a copy? Andy > -----Original Message----- > From: Jonathan Larmour [ mailto:jlarmour@redhat.com ] > Sent: 17 August 2001 17:31 > To: Simpkins, Andy > Cc: ecos-discuss@sources.redhat.com > Subject: Re: [ECOS] forwarded message from Simpkins, Andy > > > "Simpkins, Andy" wrote: > > > > Nope that gives the same result :-( > > > > $ arm-elf-gcc *.o -L /i/eCOSbuilds/a163_install/lib/ > -Ttarget.ld -nostdlib > > -Xlinker -Map -Xlinker mapfile.txt -mlong-calls > > main.o: In function `main': > > main.o(.text+0x10): relocation truncated to fit: R_ARM_PC24 > > flash_query(void) > > collect2: ld returned 1 exit status > > > > what is ld trying to tell me with the truncated error > message? I note that > > this is in the function main NOT flash_query, is this significant? > > Because that's where the call to flash_query happens. > > Perhaps this just wasn't possible with gcc 2.95.2, in which > case your only > choice is to move to gcc 3.0.1. > > Jifl > -- > Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 > (1223) 271062 > Maybe this world is another planet's Hell -Aldous Huxley || > Opinions==mine >