Deutsch   English   Français   Italiano  
<vls8rg$9373$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: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.lang.fortran
Subject: Re: nasty link problem with Gfortran and G++ (C++) ???
Date: Fri, 10 Jan 2025 23:01:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <vls8rg$9373$1@dont-email.me>
References: <vlk6nb$2cmk4$1@dont-email.me> <vlk97b$2d9j6$2@dont-email.me>
 <vlq8he$3pt22$3@dont-email.me> <vlqp57$3u2rb$1@dont-email.me>
 <vls3gr$84m0$1@dont-email.me>
Injection-Date: Sat, 11 Jan 2025 00:01:04 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4f565fc078d79a1f72840303bf68484f";
	logging-data="298211"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19z0QFXkNNs4/40S4a6EClwI5PgBi8nKls="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:3jq7/YiVa3y1ywfxdta01qed62o=
Bytes: 2597

Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
> On 1/10/2025 3:27 AM, Thomas Koenig wrote:
>> Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
>> 
>>> I cannot get a small code sample with or without a DLL to exhibit the
>>> problem.  Like I said, I thought it was something related to size of my
>>> DLL.  And this is the small DLL, only 3 MB.
>> 
>> Regarding DLLs, I'm out... I don't think I have ever done one.
>> 
>> Which toolchain are you using?  Msys/mingw64 is probably the
>> preferred one.  (Personally, I use cygwin for Windows stuff (with
>> the mingw64 cross compiler), but that is because I like the
>> UNIXy look and feel of cygwin.)
>> 
>> Did you look at the symbols that can be found in the respective
>> DLLs, do they match your expectations?  (I presume you follow
>> 
>> https://stackoverflow.com/questions/48021991/creating-dll-with-gfortran-on-windows
>> 
>> ).
>
> For compilers and IDE, I am using GCC 14.1 that is in Simply Fortran 3.38.
>     https://simplyfortran.com/

Hm, OK.   I'm not familiar with how Simply Fortran operates; they do
not cooperate with the gfortran team (but rather make money off the
work of volunteers). If you have questions regarding teir toolbox,
this is best addressed to them.

> For Unix utilities on Windows, I use the old Thompson Toolkit from 1987 
> that had the grep written in assembly language for SPEED.  Finding code 
> in 5,000+ subroutines across 60+ subdirectories requires SPEED.
>     http://www.tasoft.com/toolkit.html

Do you have a working nm?  If not, debugging this will be pretty
much impossible.