Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.tools > #43

Re: EMX cross compiler

Date 2015-06-17 22:03 -0700
From Dave Yeo <dave.r.yeo@gmail.com>
Newsgroups comp.os.os2.programmer.tools
Subject Re: EMX cross compiler
References <20150618-010307.942.0@Jason-Stevens.news.eternal-september.org>
Message-ID <558250f0$0$64455$c3e8da3$b280bf18@news.astraweb.com> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Jason Stevens wrote:
> Has anyone ever built a Linux or OS X to EMX cross compiler environment?
>
> I managed to get GCC to build, along with the assembler but the linker
> always fails on me.
>
> As far as I can tell the EMX changes were never folded back into
> mainstream binutils or gcc.
>
> Does anyone have any idea?
>
> Yes, I know I'm 20 years late to the party.
>

I've never heard of anyone succeeding in building an EMX cross-compiler. 
You're right that our fork was never merged back upstream for some 
reason, perhaps RMS vetoed it as he was in charge back then. If you look 
at our LD it is so old that it is GPL v1 with RMS as the principle coder.
For the linker, you might want to try going the OMF route and use the 
OpenWatcom linker as it is cross platform and open source. Might need to 
update emxomfld to call it correctly (see how kLIBC does it) and use the 
version that kLIBC uses. At that if you want to build a cross-compiler, 
why not use kLIBC instead of EMX? It's much newer and much compiles 
easily with it compared to old EMX where the headers are ancient and 
same with GCC 2.8.1.
Here is one tool I came across and considered testing as I've always 
been interested in a cross-compiler as well, 
http://build-cc.rkeene.org/fossil/home
Dave

Back to comp.os.os2.programmer.tools | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

EMX cross compiler Jason Stevens <jsteve@superglobalmegacorp.com> - 2015-06-18 09:03 +0800
  Re: EMX cross compiler Dave Yeo <dave.r.yeo@gmail.com> - 2015-06-17 22:03 -0700
    Re: EMX cross compiler Jason Stevens <jsteve@superglobalmegacorp.com> - 2015-06-18 18:04 +0800

csiph-web