• C

how to make a gcc for sunos on my linux box?

I have download gcc 2.7.2.2,but what should I do to make a cross-complier so rhat i can develop software dor  sunos 5.6 on my linux (sco unix 3.2v4.2/sco unix 5.0.5) box.
my make tell me it can not find makeinfo utilites for make gcc on my sco unix 3.2v4.2 box.why?

redsunAsked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
Thinking about my first comment, I'll say that you also may make a compiler for SunOS on any platform:
   1. make a cross-compiler for SunOS
   2. then compile gcc itself with the cross-compiler, and you have it

magic, isn't it?
 ;-)
0
 
ahoffmannCommented:
First clarify if you want to make a cross-compiler for SunOS on Linux, or a compiler for the target SunOS (same applies to SCO).
I'm not shure if the latter can really be done.
Anyway, building a cross-compiler is well documented in gcc. It's a lot to read, but could be done straight forward.
0
 
davidmwilliamsCommented:
 What AHoffman says is right, the steps to building a cross-compiler are all described in a README (or some other text file) that comes with the gcc archive.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.