I installed Solaris and sunstudio10 successfully. Then I wrote a fortran77 
routine to test sun performance library, but it does not work with neither gnu 
compiler nor sun compiler. 

Any help would be appreciated,
weixiang

Chip manufacturer: AuthenticAMD 
AuthenticAMD family 6 model 10 
Model Name: AMD Athlon(tm) XP 2500+ 
Chip supports SSE 
Chip does not support SSE2 
Chip does not support SSE3 

the fortran code
   program haha
   double precision v(4) 
   data v/1.0, 2.0, 3.0, 4.0/ 
   write(*, *) ddot(4, v, 1, v, 1) 
   end 

# /usr/ccs/bin/make 
/usr/sfw/bin/g77 -O3 -xlic_lib=sunperf haha.f -c 
g77: language lic_lib=sunperf not recognized 
g77: haha.f: linker input file unused because linking not done /usr/sfw/bin/g77 
haha.o -o haha 
g77: haha.o: no such file 
*** Error code 1 
make: Fatal error: Command failed for target `haha' 

# /usr/ccs/bin/make
/opt/SUNWspro/bin/f77 -O3 -xlic_lib=sunperf haha.f -c 
NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=%none -O3 -xlic_lib=sunperf 
haha.f -c 
f90: Cannot find /opt/SUNWspro/bin/f90comp 
*** Error code 1 
make: Fatal error: Command failed for target `haha.o'
 
 
This message posted from opensolaris.org
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to