Hi!

I Have the kit LPC2468, and have any problems in generate a BFLT file... my
enviromment follow below.

*Kit:*
LPC2468

*uClinux: *
uClinux-dist-20051014

*GCC ARM: *
[EMAIL PROTECTED] hello$ arm-linux-gcc -v
Reading specs from /usr/local/lib/gcc/arm-linux/3.4.4/specs
Configured with: ../configure --target=arm-linux --disable-shared
--prefix=/usr/local
--with-headers=/home/gerg/new-wave.ixdp425/linux-2.4.x/include
--with-gnu-as --with-gnu-ld --enable-multilib
Thread model: posix
gcc version 3.4.4
[EMAIL PROTECTED] hello$

My source and syntax to compile.
[EMAIL PROTECTED] hello$ ~/uClinux-dist-20051014/tools/ucfront-gcc arm-linux-gcc
-Os -fomit-frame-pointer -fno-common -fno-builtin -Wall -DEMBED -Dlinux
-D__linux__ -Dunix -D__uClinux__ -msoft-float -fpic -msingle-pic-base -fPIC
-Wno-unused-label -Wl,-elf2flt="-r" -fpic -o ola ola.c
[EMAIL PROTECTED] hello$ file ola
ola: BFLT executable - version 4 *ram gotpic*
[EMAIL PROTECTED] hello$

I need generate a "BFLT Version 4 ram", it not "RAM GOTPIC", always that i
try compile remove the option "-fpic", its impossible generate a file.
Ex:
[EMAIL PROTECTED] hello$
/home/bematech/packages/uClinux-dist-20051014/tools/ucfront-gcc
arm-linux-gcc -Os -fomit-frame-pointer -fno-common -fno-builtin -Wall
-DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__ -msoft-float
-msingle-pic-base -Wno-unused-label -Wl,-elf2flt="-r"  -o ola ola.c 2>&1 |
head
ERROR: reloc type R_ARM_PC24 unsupported in this context
ERROR: reloc type R_ARM_PC24 unsupported in this context
ERROR: reloc type R_ARM_PC24 unsupported in this context
ERROR: reloc type R_ARM_PC24 unsupported in this context
...............
...............
602 bad relocs
collect2: ld returned 1 exit status
[EMAIL PROTECTED] hello$

OBS: my application need "gcc-3-3" or better. (ARM)

somebody help?
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to