gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1617 Posts in 535 Topics by 779 Members - Latest Member: rhoronjeff@comcast.net November 27, 2022, 07:47:20 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Macintosh  |  -osxtarget=10.6 doesn't seem to do anything
gfx
gfxgfx
 

Author Topic: -osxtarget=10.6 doesn't seem to do anything  (Read 2108 times)

krages

  • Newbie
  • *
  • Posts: 4
-osxtarget=10.6 doesn't seem to do anything
« on: April 10, 2014, 04:52:34 PM »
I recently upgraded to OS 10.9, but I still want to create executables I can run on my home computer, which is still OS 10.6.8.

'f90 -osxtarget=10.6' seems to give the same result as 'f90'.

'f90 -v -osxtarget=10.6' gives exactly the same result as 'f90 -v', except for the name of the temporary directory created.

[manzanita-236-72:~/Documents/hqx_stuff] krages% f90 -v read.source.f
mkdir /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9
/Applications/Absoft13.0/bin/af90fe -YAUTOLOAD_MODULE=ABSOFT_F2003_PROCEDURES -D__ABSOFT__ -D__ABSVER__=130 -Ap -p. -p/Applications/Absoft13.0/f90includes -F /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.l read.source.f
/Applications/Absoft13.0/bin/atmod -TARG:abi=n32 -o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.B /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.l
/Applications/Absoft13.0/bin/be -O0 -LANG:=f90 -PHASE:c -TARG:abi=n32 -fs,/var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.s -fB,/var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.B read.source.f
aasm -m32 -x assembler -c -o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.s
g++ -m32 /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/read.source.o -L/Applications/Absoft13.0/lib -Wl,-no_pie -Wl,-no_compact_unwind -Wl,-Y,10 -laU77 -laf90math -lafio -lamisc -labsoftmain -laf77math -lm -lmv
rm /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/*
rmdir /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//hnamz9/

[manzanita-236-72:~/Documents/hqx_stuff] krages% f90 -v -osxtarget=10.6 read.source.f
mkdir /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48
/Applications/Absoft13.0/bin/af90fe -YAUTOLOAD_MODULE=ABSOFT_F2003_PROCEDURES -D__ABSOFT__ -D__ABSVER__=130 -Ap -p. -p/Applications/Absoft13.0/f90includes -F /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.l read.source.f
/Applications/Absoft13.0/bin/atmod -TARG:abi=n32 -o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.B /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.l
/Applications/Absoft13.0/bin/be -O0 -LANG:=f90 -PHASE:c -TARG:abi=n32 -fs,/var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.s -fB,/var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.B read.source.f
aasm -m32 -x assembler -c -o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.s
g++ -m32 /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/read.source.o -L/Applications/Absoft13.0/lib -Wl,-no_pie -Wl,-no_compact_unwind -Wl,-Y,10 -laU77 -laf90math -lafio -lamisc -labsoftmain -laf77math -lm -lmv
rm /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/*
rmdir /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//LtYp48/

'f90 -v -osxtarget=10.5' fails entirely, because it can't find one of the required libraries.  But at least it tries.

[manzanita-236-72:~/Documents/hqx_stuff] krages% f90 -v -osxtarget=10.5 read.source.f
mkdir /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8
/Applications/Absoft13.0/bin/af90fe -YAUTOLOAD_MODULE=ABSOFT_F2003_PROCEDURES -D__ABSOFT__ -D__ABSVER__=130 -Ap -p. -p/Applications/Absoft13.0/f90includes -F /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.l read.source.f
/Applications/Absoft13.0/bin/atmod -TARG:abi=n32 -o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.B /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.l
/Applications/Absoft13.0/bin/be -O0 -LANG:=f90 -PHASE:c -TARG:abi=n32 -fs,/var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.s -fB,/var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.B read.source.f
aasm -m32 -x assembler -c -o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.o /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.s
g++ -m32 /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/read.source.o -L/Applications/Absoft13.0/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -Wl,-no_pie -Wl,-no_compact_unwind -Wl,-Y,10 -laU77 -laf90math -lafio -lamisc -labsoftmain -laf77math -lm -lmv
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
link failed.
rm /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/*
rmdir /var/folders/xl/rfmtg8xd04j72yb08l539f0w0000gn/T//axLXy8/

So what's the story on -osxtarget, really?

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 333
Re: -osxtarget=10.6 doesn't seem to do anything
« Reply #1 on: April 11, 2014, 07:22:44 AM »
You have two things going against you:

1. Xcode for Mavericks (OS X 10.9) only supports one O/S back, so you can only build for OS X 10.8 and OS X 10.9. You no longer have the option of installing older SDKs as you did with earlier versions of Xcode.

2. Pro Fortran 13.0 was released before Mavericks and doesn't know anything about it. All it can do on OS X 10.9 is generate code for the host O/S.

NOTE: Your license for Pro Fortran 13.0 allows you to install it on one work computer and one home computer, presumably a laptop. You can install Pro Fortran 13.0 on your OS X 10.6 machine and build on it.

Absoft User Forum  |  Support  |  Macintosh  |  -osxtarget=10.6 doesn't seem to do anything
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!