Solved

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

Posted on 1999-01-29
3
228 Views
Last Modified: 2011-09-20
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?

0
Comment
Question by:redsun
  • 2
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1258526
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
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1258527
 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
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 1258528
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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question