X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sat, 31 Jan 2009 20:10:29 -0500 From: Ethan Rosenberg Subject: Re: 1] UNIX/LINUX Compilation 2] IDE -- Another Question In-reply-to: <200901300004.n0U04LqF002047@envy.delorie.com> To: DJGPP List Message-id: <0KED00K564LOS480@mta1.srv.hcvlny.cv.net> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <0KE70056UYX26YR0 AT mta2 DOT srv DOT hcvlny DOT cv DOT net> <200901291546 DOT n0TFkH4Z006381 AT envy DOT delorie DOT com> <66f4d58f-5bb6-4af7-bea4-793f4b2ad735 AT n21g2000vba DOT googlegroups DOT com> <200901300004 DOT n0U04LqF002047 AT envy DOT delorie DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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