Quantcast
Channel: How do I compile C code with the IRIX X Window System? - Retrocomputing Stack Exchange
Viewing all articles
Browse latest Browse all 2

How do I compile C code with the IRIX X Window System?

$
0
0

I have typed out a rather large file in C code that is defining OpenGL graphics and will draw a triangle on the screen. While I know all of the functions of the X Windowing System, I do not know how to compile the program on an IRIX system...

I want to see the limits of this computer, and I am prepared to program a whole OpenGL application if that is what it takes...

How do I create a "make" file and how do I include any files?Do I just do the standard

#include <GL/gl.h> #include <GL/glu.h>#include <GL/glx.h>#include <X11/Xlib.h>#include <X11/Xutil.h>

includes, or do I need something else? I have a full install of IRIX ready for use.

have learned the C programming language and have programmed several projects in OpenGL Fixed Function Pipeline and Programmable Pipeline in many different languages.

I installed IRIX version 6.5, which was released in, I believe, 2003, so the OpenGL pipeline is still Fixed Function (the programmable pipeline not actually being available until 2.0, and being mandatory at version 3.0).

The question in a nutshell is:1) How do I create a make file for an IRIX shell.2) Where are the files that I have above at in the computer?3) Do I have to specify anything else such as environment variables, or is that done in the makefile?4) Is there anything else I am missing from the files?

I have some documentation that I have been reading, but it is not clear about if I should set any variables to include any of these files, or if I have to download any SDKs. While I do have netboot, it is annoying to deal with, and has a very high chance of not working.

Thanks!

-rjhwinner03


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>