Porting a Python app to IRIX -- need help
Harry George
hgg9140 at seanet.com
Fri Mar 22 23:48:37 EST 2002
"Paul F. Dubois" <dubois at users.sourceforge.net> writes:
> I am trying to get a Python-based app running on an SGI running IRIX 6.5. I
> am running into a problem involving some objects being compiled "n32" and
> others "o32". The linker refuses to link them.
>
> I got pretty far by setting environment variable CC to "cc" but then it
> complained that the X11 library is o32. Can an SGI person tell me whether
> o32 or n32 is "normal" and what I tell the compiler to be sure I get that?
>
>
>
You have to decide to use n32 or o32. If you are not forced by some
legacy library to use o32, I recommend using n32. Then you have to
decide which compiler to use.
For o32 we used SGI's own compiler, with
CC='/usr/bin/cc -o32'
But now that we are moving to n32, we are using gcc (which only knows
n32). gcc is better for some open source libraries and applications.
CC='gcc'
Having made those choices, you can compile the generic libraries you
will be needing (e.g., tiff, jpeg, png, zlib). We do a lot of the
open source libraries. Then build python itself. Then continue on
with python add-on modules.
--
Harry George
hgg9140 at seanet.com
More information about the Python-list
mailing list