2

When I make a Fortran executable using make under 18.04.1, a shared library is made that is executable instead of an executable. I have attached images comparing 18.04 and 18.04.1 results. How do I make an executable instead of a shared library?

18.04.1 results 18.04 results

abu_bua
  • 10,783

1 Answers1

0

If it can help someone. I had a similar problem. The program that I tried to compile was on an NTFS partition (shared btw windows and ubuntu). When I compile it on the NTFS partition, the output has a shared lib. I moved all my project (source code and MakeFile) on my linux partition (ext4) and I compile it again. This time the output was an exectuable file.

  • Good to hear this worked for you, but without an explanation of how or why it worked, this is not really a complete answer. – Tom Brossman Oct 27 '18 at 09:29
  • 1
    I am not sure why it works, but the permission system is not the same between NTFS and EXT. Maybe another person with more knowledge can explain it. – digitalTrilunaire Oct 27 '18 at 09:35