• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cannot build Fortran static libraries after upgrade to Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot build Fortran static libraries after upgrade to Leopard


  • Subject: Cannot build Fortran static libraries after upgrade to Leopard
  • From: Richard Bartholomew <email@hidden>
  • Date: Sat, 17 Nov 2007 21:06:39 -0500

Since upgrading to Leopard, Xcode 3.0 and Intel Fortran 10, I am unable to build static libraries.
 
If I build the sample program below in Xcode using a Command Line and Debug (I can’t get Release to work for any projects now either), it executes without error. If I then cut out the two subroutines and create a new project for Static Libraries, I get the following errors:
 

Building target “Build Library Test” of project “Build Library Test” with configuration “Debug” — (1 error)

      Checking Dependencies

       cd "/Users/rwb4807/Build Library Test"

    /usr/bin/ifort-10.1-base/bin/ifort -static -arch_only i386 -o "/Users/rwb4807/Build Library Test/build/Debug/libBuild Library Test.a" "-L/Users/rwb4807/Build Library Test/build/Debug" -staticlib -filelist "/Users/rwb4807/Build Library Test/build/Build Library Test.build/Debug/Build Library Test.build/Objects-normal/i386/Build Library Test.LinkFileList" -syslibroot /Developer/SDKs/MacOSX10.5.sdk

Unsupported machine model: GLOB_MACHINE_MODEL_EFI2

xilibtool: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1)

xilibtool: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1)

       xilibtool: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1)

       xilibtool: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1)

       xilibtool: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1)

       xilibtool: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1)

Build failed (1 error)
 
I am at a losse as to how to fix the errors, can some one please help? Thanks in advance.
 
Sample Code:

      Program Untitled

      Integer N

      Print *, 'Hello from the Main Program'

      N = 2

      Print *, 'N = ', N

      Print *, ' '

      Call SADD1( N )

      CALL SMUL2( N )

      Stop

      End

C

      Subroutine SADD1( N )

      Integer N

      Print *, 'Hello from Subroutine SADD1'

      Print *, 'N = ', N

      N = N + 1

      Print *, 'N+1 = ', N

      Print *, ' '

      Return

      End

C

      Subroutine SMUL2( N )

      Integer N

      Print *, 'Hello from Subroutine SMUL2'

      Print *, 'N = ', N

      N = 2*N

      Print *, '2*N = ', N

      Print *, ' '

      Return

      End

 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re[2]: Time machine backing up temporary binary files.
  • Next by Date: Re: Creating a Carbon Framework with header files in multiple directories.
  • Previous by thread: Re: Creating a Carbon Framework with header files in multiple sub-directories.
  • Next by thread: Re: Breakpoints doesn't work - more info [SOLVED]
  • Index(es):
    • Date
    • Thread