81 views
in Platform Packages by

Dear Community Members,

I've sourced the cross-compiler to:

echo $ARCH .... to x86

echo $CROSS_COMPILE .... to i686-poky-linux-

${CC} --version   .... to i686-poky-linux-gcc (GCC) 13.2.0

Compiling the Helloworld Makefile leads to the error of incompatible libewrte.a and / libewgfx.a (installed with Embedded Wizzard)

The first file in the static library shows:

readelf -h libewrte.a

File: libewrte.a(ewcolor.o)
ELF Header:
 Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00  
 Class:                             ELF32
 Data:                              2's complement, little endian
 Version:                           1 (current)
 OS/ABI:                            UNIX - System V
 ABI Version:                       0
 Type:                              REL (Relocatable file)
 Machine:                           ARM
 Version:                           0x1
 Entry point address:               0x0
 Start of program headers:          0 (bytes into file)
 Start of section headers:          1728 (bytes into file)
 Flags:                             0x5000000, Version5 EABI
 Size of this header:               52 (bytes)
 Size of program headers:           0 (bytes)
 Number of program headers:         0
 Size of section headers:           40 (bytes)
 Number of section headers:         11
 Section header string table index: 10


But with my chosen cross-compiler i can't make the Helloworld Example, so I want to compile the Platform Packages with this cross-compiler by my self

Thank you for your help!
 

1 Answer

0 votes
by

Hello,

rebuilding the Graphics Engine library (libewgfx.a)  and the Runtime Environment library (libewrte.a) requires the source code, which is provided to all customers that have licensed Embedded Wizard for a dedicated target.

Within all our Build Environments that can be downloaded and evaluated free of charge, we provide only libraries.

Maybe you can explain your aim more detailed:

Why do you have the need to rebuild the libraries? Which target are you using for executing the GUI? What Build Environment are you using? And which version of Embedded Wizard are you using?

Best regards,
Manfred

by

Dear Manfred,

thanks for the fast answer. Sorry for confusing, but obviously I did use the wrong cross-compiler, so that your delivered static library could not fit. I tried to come around with the last poky release 32bit cross-compiler, but this did not work.

Now it works with:

echo $CROSS_COMPILE .... to arm-ostl-linux-gnueabi-

Andreas

 

Embedded Wizard Website | Privacy Policy | Imprint

...