This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions on Targetting Commercial Unixes


Hello,

cross-compilers to commercial Unixes tend to be rather
unpleasant...

Short answer:

1) Solaris 2.8/x86: I think this should work. What
link errors are you getting?

2) HP-UX: this can't work. There's no GNU linker for
this platform. 

3) AIX: this may work, but if so, I've yet to see it.
GNU binutils have serious issues on AIX 4.3 and above.
4.2 _may_ be okay.

Long answer:

All these have basically the same problem: parts of
the toolchain, especially the linker and assembler,
aren't either completed, or tested, for the uses
you're looking for. I have a similar problem. With
powerpc-darwin, the assembler and linker won't build
anywhere else.

I have found a way to work around this, either using
rsh, or distcc. However, you will need at least one
box running the OS you're trying to target.
Essentially, what I did was create a compiler wrapper
which preprocesses the source on my darwin box,
compiles it on my x86-linux box (much faster), and
assembles and links on my darwin box. The great thing
about gcc, is that the actual compiler requires
neither headers, nor libraries, nor assembler, for the
target machine. Anyhow, if you want more details, I'm
happy to give 'em...

Cheers,

Dara

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]