Mail Archives: djgpp/2009/01/31/20:11:59
At 07:04 PM 1/29/2009, you wrote:
> > Yes, you can cross-compile to ELF, but I guess DJ means the
> > difficult part is linking, esp. shared libraries or more complex
> > stuff like that.
>
>Yes. You have to build what is essentially a "sys-root" - all the
>headers, libraries, etc from the target linux system. Then you build
>a cross-gcc, cross-binutils, etc. *Then* you start building your own
>programs.
>
> > Of course, the only ELF-based tools I know of were Daniel Borca's
> > DJGPP/ELF,
>
>That's a native ELF. For cross-ELF it's a lot simpler (in theory),
>just build gcc+binutils for whatever target you want; the gcc
>executables themselves remain plain DJGPP programs, they just
>*produce* non-djgpp programs.
>
> > As far as Linux distros, DJ should've been more specific (or else
> > maybe you can tell us what you want?).
>
>I don't have to be specific, pretty much all Linux distros these days
>are at least mostly LSB compliant, which means they all have about the
>same degree of difficulty cross-compiling. Of course, I'm talking
>about mainstream distros, like Fedora or Debian. The custom tiny ones
>(like OpenWRT) usually come with their own development sys-root.
Much thanks to all....
My impressions of this email thread [subject you your corrections],
are 1] Compiling from DJGPP to a UNIX/Linux executable is difficult
and only for the expert user, [which I am not] and 2] there is no IDE
for DJGPP with a GUI, that will let one write, compile and debug
code, other than RHIDE.
This leads to a separate question.... What are the functions and
features in DJGPP which are not compatible with Unix/Linux?
Again, thank you very much.
Ethan Rosenberg
- Raw text -