Deutsch English Français Italiano |
<vl5ima$38li7$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lynn McGuire <lynnmcguire5@gmail.com> Newsgroups: comp.lang.fortran Subject: how do you send a fortran character string from GCC to GFortran ? Date: Thu, 2 Jan 2025 02:27:54 -0600 Organization: A noiseless patient Spider Lines: 14 Message-ID: <vl5ima$38li7$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 02 Jan 2025 09:27:55 +0100 (CET) Injection-Info: dont-email.me; posting-host="ed017543ef3f917134109212c620892a"; logging-data="3429959"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kDGdU4QD1YLL8u03Uw8EhV+qcI4npmE0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:tmJTEhljxv/Ngkgm9p9hAHGP5yM= Content-Language: en-US Bytes: 1393 How do you send a fortran character string from GCC to GFortran ? I cannot get this to link. I can do the reverse, send a fortran character string from Gfortran to GCC. I do have the additional complication that I do not know the length of the fortran character string being sent from GCC to Gfortran at compile time, only run time. So that is a character*(*) string. I am not using the ISO C binding. Thanks, Lynn