#3027 g95-0.90-3

closed
nobody
5
2007-12-04
2007-11-20
No

This is a first pass at a g95-0.90-3 package that builds on Leopard. We still need to come to grips with either additional changes to increase compatibility with the Xcode 3.0 cctools or patch the existing odcctools590 package to build under Leopard.

Discussion

  • Jack Howarth

    Jack Howarth - 2007-11-20

    Logged In: YES
    user_id=403009
    Originator: YES

    File Added: g95.patch

     
  • Jack Howarth

    Jack Howarth - 2007-11-20

    Logged In: YES
    user_id=403009
    Originator: YES

    This package includes the changes in the current Macports build of g95. For now it builds against the system cctools.
    File Added: g95-darwin9.patch

     
  • Jack Howarth

    Jack Howarth - 2007-11-21

    Logged In: YES
    user_id=403009
    Originator: YES

    I should add that so far this packaging works fine on both powerpc-apple-darwin9 and i386-apple-darwin9. The only problem exists on macintel where warnings do appear when creating programs in g95 using nargc...

    ncargex cpex08

    CAR Graphics Fortran Example <cpex08>

    Copying cpex08.f

    Copying cpexcc.f

    Compiling and linking...
    g95 -O2 -o cpex08 cpexcc.f cpex08.f -L/sw/lib -L/sw/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext
    ld: warning for symbol _lbcomn_ tentative definition of size 32 from /sw/lib/libncarg.a(lblbar.o) is being replaced by a real definition of size 24 from /sw/lib/libncarg.a(lbblda.o)

    I vaguely recall this issue from the run-up to the gcc 4.2 release. Currently I am trying to find out if anyone at Apple can identify which
    revision to gcc trunk addressed this change in odcctools. If so, I'll attempt a backport over gcc 4.0.3. Alternately everyone can nag Andy
    to fix his build to support gcc 4.2.2 as an option.

     
  • Jack Howarth

    Jack Howarth - 2007-11-28

    Logged In: YES
    user_id=403009
    Originator: YES

    A quick note that I almost have packaging finished that builds g95 against gcc 4.2.2 using the current g95 snapshot. I still have to make some adjustments to the linker flags that g95 passes when it links. I'll post the packaging here when I am finished.

     
  • Jack Howarth

    Jack Howarth - 2007-11-30
    • summary: g95-0.90-3 test packaging --> g95-0.90-3
     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    g95-0.90-3 darwin9 patch file

     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    Logged In: YES
    user_id=403009
    Originator: YES

    File Added: g95-darwin9.patch

     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    Logged In: YES
    user_id=403009
    Originator: YES

    File Added: g95.patch

     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    g95-0.90-3 patch file

     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    g95-0.90-3 info file

     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    Logged In: YES
    user_id=403009
    Originator: YES

    File Added: g95.info

     
  • Jack Howarth

    Jack Howarth - 2007-11-30

    Logged In: YES
    user_id=403009
    Originator: YES

    The attached packaging uses the 0.90 release of g95 and a patched version of gcc 4.0.3 to successfully build against the cctools from Xcode 2.5 or 3.0. I have backported a darwin9 specific change to eliminate the tentative definition linker warnings on i386-apple-darwin9. This package can successfully build a usable ncarg package on both darwin8 and darwin9.

     
  • Jack Howarth

    Jack Howarth - 2007-12-04
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks