gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64252] BuildProgram linking issue in macOS


From: Mohammad Akhlaghi
Subject: [bug #64252] BuildProgram linking issue in macOS
Date: Thu, 25 May 2023 13:45:38 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64252>

                 Summary: BuildProgram linking issue in macOS
                   Group: GNU Astronomy Utilities
               Submitter: makhlaghi
               Submitted: Thu 25 May 2023 06:45:36 PM BST
                Category: BuildProgram
                Severity: 3 - Normal
              Item Group: Crash
                  Status: Postponed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 25 May 2023 06:45:36 PM BST By: Mohammad Akhlaghi <makhlaghi>
While running the
[https://www.gnu.org/software/gnuastro/manual/html_node/Building-custom-programs-with-the-library.html
Building custom programs] section of the general tutorial on a macOS, James
Robinson reported the following crash:


$ astbuildprog myprogram.c 

Compiling and linking the program
---------------------------------
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
unknown option character `-' in: --tag=CC
Usage:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch]
[-sacLT] [-no_warning_for_no_symbols]
Usage:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o
output] [-install_name name] [-compatibility_version #] [-current_version #]
[-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#]
[-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>]
[-all_load] [-noall_load]
astbuildprog: failed to build (error code 256), see above









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64252>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]