Date: Mon, 1 May 2000 23:20:26 -0400 Message-Id: <200005020320.XAA20914@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <390e3ec3$0$72534$61169c8d@news.thebestisp.com> (spectrac AT thebestisp DOT com) Subject: Re: Embedded programming References: <390e3ec3$0$72534$61169c8d AT news DOT thebestisp 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 > Can DJGPP be used to compile binaries that will run standalone - i.e. > without DOS or Windows? I'm looking for a 32 C compiler to generate code > for an embedded project. It can, but it's not trivial. If the CPU isn't an x86, you need to rebuild the whole toolchain (gcc, as, ld) from original sources as a cross-compiler. If the CPU *is* an x86, you still will probably have to use a custom linker script and write a small converter to convert the COFF output to whatever your target uses. You'll likely have to write support libraries as well, but that's a given with embedded programming.