Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CRAY-style vector functions in AltiVec?



I have been doing some Fortran wrapping myself the last couple of days. And this is what I noticed:
g77 adds an additional '_' to the end if your identifier contains any '_' of itself. So if you add an additional '_' to your wrapped C function it should work (e.g. use foo_bar__ instead of foo_bar_ to wrap the function foo_bar).

You might like to read up on -fno-second-underscore :-)

Lassi
--
Those who desire to give up freedom in order to gain security, will
not have, nor do they deserve, either one. --Thomas Jefferson
_______________________________________________
fortran-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/fortran-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >CRAY-style vector functions in AltiVec? (From: Marc Balcells <email@hidden>)
 >Re: CRAY-style vector functions in AltiVec? (From: Sander Niemeijer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.