[ECOS] CYGPKG_LOADER: compiling for xscale-elf giving error

srinivas naga vutukuri srinivas.vutukuri@gmail.com
Thu Jun 12 15:26:00 GMT 2008


Hi Andrew,

I think, code is not complete for ARM support.

1. objloader.cdl - CYGBLD_OBJLOADER_ARCHITECTURE_ARM option is in commented.
2. and there is no relocate_arm.h - for ELF_ARCH_MACHINE_TYPE, etc.
3. and there is no relocate_arm.c - file

Actually, this trial is for, if any of LGPL based library work, if am
trying to use in my eCos based application, so for that make the
library as dynamically loadable, so thats why.

Any other suggetions...

best regards,
srinivas.



On Thu, Jun 12, 2008 at 3:56 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Jun 12, 2008 at 03:29:14PM +0530, srinivas naga vutukuri wrote:
>> Hi,
>>
>>         I want to try the dynamic loading of library or module.
>> Just added CYGPKG_LOADER. And my target is xsclae-elf (big-endian).
>> But when comes to linking of crtbeginS.o dlforce.o crtendS.o to get
>> libdlforce.so
>> Am getting the error:
>>
>> dlforce.o: compiled for a big endian system and target is little endian
>> File in wrong format: failed to merge target specific data of file src/dlforce.o
>>
>> Could you please help me out in get rid off? Is it possible the
>> dynamic loading with xscale target (big-endian)?
>
> I think you are more likely to have success with CYGPKG_OBJLOADER.
>
>  Andrew
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list