Universal Binary / Nexuiz 1.6 on macintel ?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators


  • Hi :)
    I was wondering if the Nexuiz 1.6 mac version will be universal binary ?
    [NSB] ppwer !
    User avatar
    obi_wan
    Alien trapper
     
    Posts: 256
    Joined: Mon Mar 13, 2006 9:24 am
    Location: France

Sat May 27, 2006 11:37 am

  • I read about plans for a universal binary.. so i guess yes there will be one.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Sun May 28, 2006 5:47 am

  • Well, for starters, the mac shell the devs normally use is currently down. Further from that, from what I understand, the library linking has been completely changed in the change to macintel, so the older way of compiling libraries will no longer work.

    And since I haven't seen much for mac compile testing reguarding fat builds, I wouldn't expect to see it for 1.6.

    However, from my understanding, it will compile on a macintel. so dual binaries may be an option provided there is a place to have it compiled.
    --Willis
    User avatar
    Willis
    Site Admin
     
    Posts: 168
    Joined: Tue Feb 28, 2006 7:00 pm
    Location: Wisconsin, USA

Sun May 28, 2006 9:11 am

  • Willis wrote:Well, for starters, the mac shell the devs normally use is currently down. Further from that, from what I understand, the library linking has been completely changed in the change to macintel, so the older way of compiling libraries will no longer work.

    And since I haven't seen much for mac compile testing reguarding fat builds, I wouldn't expect to see it for 1.6.

    However, from my understanding, it will compile on a macintel. so dual binaries may be an option provided there is a place to have it compiled.


    I have done some testing and working build scripts to make universal binaries - it isn't more than removing the dependency tracking (Apple fscked it up) and adding the flags "-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" to $CC.

    However, SDL does not compile as universal library (Apple implemented universal binaries in a way that broke GNU libtool and static libraries) and I haven't yet found out what exactly wrong. SDL's main problem is that libSDLmain is only built as static library, and apparently these can't be universal.

    But the dedicatd server and the AGL build compile fine as universal binaries, and the bugs of the AGL build seem to have been fixed.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sun May 28, 2006 7:11 pm

  • divVerent wrote:But the dedicatd server and the AGL build compile fine as universal binaries, and the bugs of the AGL build seem to have been fixed.

    what are the differences between sdl and agl version ?
    [NSB] ppwer !
    User avatar
    obi_wan
    Alien trapper
     
    Posts: 256
    Joined: Mon Mar 13, 2006 9:24 am
    Location: France

Fri Jun 02, 2006 9:44 am

  • obi_wan wrote:what are the differences between sdl and agl version ?

    The agl version uses native functions to access the hardware, the sdl version uses the crossplatform library sdl (Simple DirectMedia Layer).
    SDL is good but not perfect, so in some boarder cases the native versions (agl for mac, wgl for windows and glx for linux) might work when the sdl version has problems.
    Last edited by esteel on Thu Aug 31, 2006 8:15 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Sun Jun 25, 2006 4:50 am

  • Hey, new registration.

    Just wanted to show my support for a UB or separate PPC / Intel binaries. I would love to fire this up on my Intel Mac :)
    jeffbax
    Newbie
     
    Posts: 3
    Joined: Sun Jun 25, 2006 4:49 am

Sun Jun 25, 2006 7:53 am

  • isnt there one? i always thougth so
    Asraniel
    Alien
     
    Posts: 112
    Joined: Tue Feb 28, 2006 9:15 pm

Sun Jun 25, 2006 12:19 pm

  • Asraniel wrote:isnt there one? i always thougth so


    The released Nexuiz 2.0 binaries are all universal. However, it is my fault that they are misnamed... just ignore the "ppc" in the file name, you can check using lipo that they are in fact universal.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE



Return to Nexuiz - General Discussion




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest