64bit libGL etc... missing ?

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
radiance
Posts: 17
Joined: Tue Sep 06, 2016 3:02 am

64bit libGL etc... missing ?

Unread postby radiance » Sun Sep 25, 2016 9:01 pm

Hi all,

I'm compiling some code with OpenGL,
and can compile 32bit binaries fine with both mipspro and nekoware gcc.

I'm running IRIX 6.5.22 on an R5K Indy.

However, when trying to link a N64 version, my llinker complains it cannot find libGL, libglut, etc...
I've searched my whole system and all libGL.a/.so etc... are all 32bit, nothing in 64bit anywhere on the system...

Am I missing some development tardist ?

Thanks,
Terrence
Last edited by foetz on Sun Sep 25, 2016 9:21 pm, edited 1 time in total.
Reason: title

User avatar
foetz
Moderator
Moderator
Posts: 6579
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: 64bit libGL etc... missing ?

Unread postby foetz » Sun Sep 25, 2016 9:23 pm

obviously you don't have the 64bit libs installed.

i've also taken the liberty of changing the topic title because N64 is usually used for the nintendo64 dev kit around here :P

radiance
Posts: 17
Joined: Tue Sep 06, 2016 3:02 am

Re: 64bit libGL etc... missing ?

Unread postby radiance » Sun Sep 25, 2016 9:26 pm

I was thinking something along those lines...
Is there a way i can check this ? what is/are the pacakges called and on what SGI disk can i find them ?

Thanks a lot!,
Terrence

robespierre
Posts: 1573
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: 64bit libGL etc... missing ?

Unread postby robespierre » Sun Sep 25, 2016 9:29 pm

You can only run 64-bit (n64) binaries on IRIX64 machines. The Indy never has a 64-bit kernel, so it cannot run 64-bit applications. You can run N32 applications using 64-bit arithmetic. I think if you want to compile using cc -64 on the Indy, some kind of cross-compilation environment is required. Not sure about the details.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

radiance
Posts: 17
Joined: Tue Sep 06, 2016 3:02 am

Re: 64bit libGL etc... missing ?

Unread postby radiance » Sun Sep 25, 2016 9:31 pm

I was not aware of that... :( fairly new to IRIX,

Is'nt an R5K mips4 64bit capable ?
What about the Indigo2 / R10K ?

Thanks again,
Terrence

robespierre
Posts: 1573
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: 64bit libGL etc... missing ?

Unread postby robespierre » Sun Sep 25, 2016 9:50 pm

Every MIPS chip used by SGI has been 64-bit since the R4000. But ILP64 modes are only used if the rest of the system is designed to support it. The Indy and IP22 Indigo2 aren't able to do that.
The R10000 Indigo2 (IP28) does use IRIX64 and -64 bit libraries and programs.
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

radiance
Posts: 17
Joined: Tue Sep 06, 2016 3:02 am

Re: 64bit libGL etc... missing ?

Unread postby radiance » Sun Sep 25, 2016 10:02 pm

Thanks a lot robespierre,

Good to know! ;)
I've got an I2/R10K coming over to me in a few weeks,
i'll do my 64bit builds on that box instead ;)

Thanks,
Terrence

User avatar
foetz
Moderator
Moderator
Posts: 6579
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: 64bit libGL etc... missing ?

Unread postby foetz » Mon Sep 26, 2016 6:01 am

you can build 64bit stuff even on an r4400, you just can't run it


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest