* EABI
@ 2008-04-24 14:32 Brian Silverman
0 siblings, 0 replies; 5+ messages in thread
From: Brian Silverman @ 2008-04-24 14:32 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
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...
----
Brian Silverman
Principal Engineer
iVeia
[-- Attachment #2: Type: text/html, Size: 1999 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* EABI
@ 2008-04-24 16:13 Brian Silverman
2008-04-24 16:45 ` EABI Kumar Gala
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Brian Silverman @ 2008-04-24 16:13 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
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...
--
Brian Silverman
Concept X, LLC
[-- Attachment #2: Type: text/html, Size: 1347 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EABI
2008-04-24 16:13 EABI Brian Silverman
@ 2008-04-24 16:45 ` Kumar Gala
2008-04-24 16:50 ` EABI Grant Likely
2008-04-27 20:36 ` EABI Ron Sass
2 siblings, 0 replies; 5+ messages in thread
From: Kumar Gala @ 2008-04-24 16:45 UTC (permalink / raw)
To: Brian Silverman; +Cc: linuxppc-embedded
On Apr 24, 2008, at 11:13 AM, Brian Silverman wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EABI
2008-04-24 16:13 EABI Brian Silverman
2008-04-24 16:45 ` EABI Kumar Gala
@ 2008-04-24 16:50 ` Grant Likely
2008-04-27 20:36 ` EABI Ron Sass
2 siblings, 0 replies; 5+ messages in thread
From: Grant Likely @ 2008-04-24 16:50 UTC (permalink / raw)
To: Brian Silverman; +Cc: linuxppc-embedded
On Thu, Apr 24, 2008 at 10:13 AM, Brian Silverman
<bsilverman@conceptxdesign.com> wrote:
>
>
> 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...
Unfortunately, no.
I recommend making use of the ELDK toolchain from Denx.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EABI
2008-04-24 16:13 EABI Brian Silverman
2008-04-24 16:45 ` EABI Kumar Gala
2008-04-24 16:50 ` EABI Grant Likely
@ 2008-04-27 20:36 ` Ron Sass
2 siblings, 0 replies; 5+ messages in thread
From: Ron Sass @ 2008-04-27 20:36 UTC (permalink / raw)
To: Brian Silverman; +Cc: linuxppc-embedded
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
> 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...
>
> --
> Brian Silverman
> Concept X, LLC
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-27 21:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 16:13 EABI Brian Silverman
2008-04-24 16:45 ` EABI Kumar Gala
2008-04-24 16:50 ` EABI Grant Likely
2008-04-27 20:36 ` EABI Ron Sass
-- strict thread matches above, loose matches on Subject: below --
2008-04-24 14:32 EABI Brian Silverman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).