ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Anton V. Boyarshinov" <boyarsh@ru.echo.fr>
To: community@altlinux.ru
Subject: [Comm] Re: FORTRAN
Date: Tue, 11 May 2004 13:18:25 +0400
Message-ID: <20040511084854.DA0782B522@mail.ru.echo.fr> (raw)
In-Reply-To: <409FA378.1080102@iop.kiev.ua>

Добрый день

On Mon, 10 May 2004 18:44:56 +0300 Andrey Rybak
 wrote:

> Подскажите где рыть, чтобы узнать как под Линухом компоновать
> объектные модули написанные на Си и ФОРТРАНе.
> Спрашиваю потому что под виндой это делается явно не
> портабельно Типа так:
> $attributes stdcall, alias 'nameC':nameFORTRAN::functn
> Этот $attributes я так понял чисто Visual-овая примочка.
> А как GNU-шными средствами в программе на Фортране объявлять,
> что вызываемая функция находиться в модуле написанном на Си?

Из программ, имеющихся в Сизифе (и, кажется, в Мастере) по
крайней мере octave написана на смеси фортрана и си. Можно
посмотреть в её исходных текстах. Вероятно есть и более
громоздкие примеры, но с ходу не назову.

Антон
-- 
mailto:boyarsh@mail.ru
mailto:boyarsh@ru.echo.fr
 13:16:00  up 30 days,  1:10,  9 users,  load average: 1.30,
1.12, 1.06


      reply	other threads:[~2004-05-11  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10 15:44 [Comm] FORTRAN Andrey Rybak
2004-05-11  9:18 ` Anton V. Boyarshinov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040511084854.DA0782B522@mail.ru.echo.fr \
    --to=boyarsh@ru.echo.fr \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git