:/ i don´t know how, but maybe rewrite some code of owlib makefile
ther´s something that don´t allow crosscompile to work well maybe something
that don´t add the crosscompiler prefix in ld,em,as, and others 3 and 2
letters commands inside that makefiles, must read the full file, since i´m
not very good in make files i don´t know where to start
normally i compile a crosscompile program with configure file with this
commands:
export CC=arm-none-linux-gnueabi
export CFLAGS="-march=armv4t"
./configure --host=arm-none-linux-gnueabi
make
any command like gcc, asm, as, ld is prefixed with
"arm-none-linux-gnueabi", for example: arm-none-linux-gnueabi-gcc,
arm-none-linux-gnueabi-asm, arm-none-linux-gnueabi-as,
arm-none-linux-gnueabi-ld
--host is a option of arm-none-linux-gnueabi-gcc compiler and a information
to configure that compiller generate code to arm, but gcc don´t run in a
arm machine (it run in you machine maybe a x86)
2011/11/14 Paul Alfille <[email protected]>
> Are there suggested changes for easing the ARM/omap build?
>
> Paul
>
>
> On Mon, Nov 14, 2011 at 1:26 PM, Roberto Spadim <[email protected]>wrote:
>
>> uhmmm i couldn´t compile some time ago...
>> i checked that owlib have something that don´t use ./configure compile
>> options
>> what i did? install a virtual box, changed the default compilers files
>> (ld, and other) with sourcery gcc files (or anyother gcc package for arm)
>> compiled again with configure options , and that´s all :)
>>
>>
>> 2011/11/14 Mark Richards <[email protected]>
>>
>>> On 11/14/2011 12:27, Mikael Aalto wrote:
>>>
>>> Dear all,
>>> I'm trying to cross-compile the owfs for ARM, but with no luck. I get a
>>> sudden error:
>>> /usr/bin/ld: .libs/error.o: Relocations in generic ELF (EM: 40)
>>> .libs/error.o: could not read symbols: File in wrong format
>>>
>>> Perhaps error.o was left over from another build. Try a make clean?
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> RSA(R) Conference 2012
>>> Save $700 by Nov 18
>>> Register now
>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers