Skip to contentSkip to conversation

EABI

DISCUSSION Brian Silverman 4 participants 4 messages Apr 24, 2008 – Apr 27, 2008

lore
Share & tools
lore
#0 lore raw

Is it possible to compile a Linux application using an EABI compiler (specfically, Xilinx's EDK powerpc-eabi-gcc.exe)?

The issue at hand is that we'd like for our customers to be able to use the Xilinx EDK toolchain (which we know they will have) to compile Linx apps without having to install another toolchain (crosstool, ELDK, etc).

So, what I'm hoping is that the EDK toolchain can be configured to be Linux compatible binaries, or that there is some kind of wrapper that will handle the incompatible interfaces. Searching around, I've seen some mention of Linux EABI compatibility (for Debian ARM releases), but I haven't found any clear concensus...

P.S. My apologies if this message appears on the mailing list twice...

Signature · 2 lines
Brian Silverman
Concept X, LLC
#1 lore raw
Quoted 7 lines · Brian Silverman

Is it possible to compile a Linux application using an EABI compiler (specfically, Xilinx's EDK powerpc-eabi-gcc.exe)?

The issue at hand is that we'd like for our customers to be able to use the Xilinx EDK toolchain (which we know they will have) to compile Linx apps without having to install another toolchain (crosstool, ELDK, etc).

So, what I'm hoping is that the EDK toolchain can be configured to be Linux compatible binaries, or that there is some kind of wrapper that will handle the incompatible interfaces. Searching around, I've seen some mention of Linux EABI compatibility (for Debian ARM releases), but I haven't found any clear concensus...

P.S. My apologies if this message appears on the mailing list twice...

The EABI and Linux ABI are not compatible and if you want to link with any libraries you will need a different compiler for linux.

- k

#2 lore raw
In reply to Brian Silverman
Quoted 9 lines · Brian Silverman

Is it possible to compile a Linux application using an EABI compiler (specfically, Xilinx's EDK powerpc-eabi-gcc.exe)?

The issue at hand is that we'd like for our customers to be able to use the Xilinx EDK toolchain (which we know they will have) to compile Linx apps without having to install another toolchain (crosstool, ELDK, etc).

Quoted 7 lines

So, what I'm hoping is that the EDK toolchain can be configured to be Linux compatible binaries, or that there is some kind of wrapper that will handle the incompatible interfaces. Searching around, I've seen some mention of Linux EABI compatibility (for Debian ARM releases), but I haven't found any clear concensus...

P.S. My apologies if this message appears on the mailing list twice...

Unfortunately, no.

I recommend making use of the ELDK toolchain from Denx.

Cheers,
g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#3 lore raw
In reply to Brian Silverman

Unfortunately, it is not that easy. The Xilinx tool chain use newlib but your Linux kernel (and rootfs) is probably built around glibc. When we've wanted to do a quick-and-dirty test of something that relies on Xilinx's patches to gcc, we have used powerpc-eabi-gcc to compile to assembler and then used our own crosstools compilers to link and load.

That doesn't solve your problem but hopefully it explains the issue.

Ron

Quoted 18 lines

Is it possible to compile a Linux application using an EABI compiler (specfically, Xilinx's EDK powerpc-eabi-gcc.exe)?

The issue at hand is that we'd like for our customers to be able to use the Xilinx EDK toolchain (which we know they will have) to compile Linx apps without having to install another toolchain (crosstool, ELDK, etc).

So, what I'm hoping is that the EDK toolchain can be configured to be Linux compatible binaries, or that there is some kind of wrapper that will handle the incompatible interfaces. Searching around, I've seen some mention of Linux EABI compatibility (for Debian ARM releases), but I haven't found any clear concensus...

P.S. My apologies if this message appears on the mailing list twice...

Signature · 2 lines
Brian Silverman
Concept X, LLC