<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Have you tried just including the
      source code into your project, and defining ENET_BUILDING_LIB as
      1?<br>
      That's what I do to use enet on Macs, though I haven't tried for
      64 bit. If it works, should be easy enough after that to build a
      new static lib project using Xcode for the future.<br>
      Cheers,<br>
      Aidan.<br>
      <br>
      <br>
      On 22/06/2013 22:22, Brian Handy wrote:<br>
    </div>
    <blockquote
cite="mid:CAKzF6SMAgxewd5ap+P6Tnmko1dVU9CaeYT+oGy1voST197ARuw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello all,
        <div><br>
        </div>
        <div style="">I have recently started using Enet on Mac with
          XCode, and I am hoping there is a way to build enet for both
          32bit and 64bit on the same machine.</div>
        <div style=""><br>
        </div>
        <div style="">XCode (conveniently) likes to build for all
          architectures, but when I built enet 1.3.7 (./config
          && make && make install, possibly with some
          sudos in there) then it appeared to have only built for 64
          bit. XCode reported that enet had "Undefined symbols for
          architecture i386". There was one other warning relating to
          this, "ignoring file /usr/local/lib/libenet.dylib, file was
          built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7
          0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which
          is not the architecture being linked (i386):
          /usr/local/lib/libenet.dylib"</div>
        <div style=""><br>
        </div>
        <div style="">So, is there a way to do this with enet on a 64bit
          computer, or do I need to go find and build this on a 32bit
          machine? On StackOverflow, it sounded like doing config
          CFLAGS="-m32" CXXFLAGS="-m32" would work, but I have had no
          luck with that.</div>
        <div style=""><br>
        </div>
        <div style="">Many thanks!</div>
        <div style="">Brian</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ENet-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a>
<a class="moz-txt-link-freetext" href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>