OpenAT sdk and Linux


It looks the sdk is a Linux stuff. So how can I use it under Linux, or Can I get a lib for Linux? I have an arm7 cross compiler (gcc) I have the .a files (from the .lib) but it doesn’t work I have compiler error about the lib. Which compiler was used when this wmlib and adllib had compiled?

Exactly what error is that? :unamused:

I lookd the .mak files and search the gcc switches.

I create my own makefile for Linux make

CFLAGS=-Os -O2 -fshort-enums -nostartfiles -mapcs -mthumb -mthumb-interwork -mno-apcs-stack-check -msoft-float -mcpu=arm7tdmi -march=armv4t -fomit-frame-pointer -ggdb3 -W -Wall
LDFLAGS=-T $(LINK_SCRIPT) -I./inc -L./lib -lwmadl -lwmopenat -led 

	$(CC) $(CFLAGS) $(LDFLAGS) -o pgcore.elf $(CFILES)

I rename the .lib files to .a beceuse these files are .o file compress with ar. And when I use make the error is

As I know it means the linker does’nt use the libs. So I don’t understand.

Ok I found :slight_smile: The $LDFLAGS was at the wrong place.

the right is the end of the row.

So I have a binary and I strip it. How can I compress it? Because it is too large.

Hi ybdragon, which version ot ARM compiler for Linux you are using ? Can You share a litle info with us ? I’ve tryed a several ones with your Makefile , with my own and with wmmake and Wacecom’s *.mak files. Every time compilation fail on linking stage.