Re: OT: Re: C editor
On Sun, Mar 04, 2001 at 10:08:41PM +0000, Colin Watson wrote:
> Vishal Soni <vsonicmu2000@yahoo.com> wrote:
> >Don't laugh.
> >Say i want to compile a solaris binary on my linux box. Can i get
> >asolaris c-compiler and compile it on my linux box?? it that possible?
>
> Depends what you mean by "compile a Solaris binary". If you've got the
> source code, then source is source is source; just compile it as normal.
> Don't bother compiling a Solaris compiler, it's a lot of work and won't
> help. If the source code isn't portable enough, you might have to fix it
> up a bit, but that depends.
not sure, but the initial question could also be read meaning he wants
to do cross-compiling, i.e. doing the build on Linux but running the
executable on Solaris.
If that's the intention, I would advise you not to try it, except you
consider yourself an experts in these kind of things. Although
theoretically possible, it's definitely nothing for the faint-hearted. ;)
Erdmut
--
Erdmut Pfeifer
science+computing gmbh
-- Bugs come in through open windows. Keep Windows shut! --
Reply to: