public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jrevans1 at earthlink dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/23251] New: Missing Darwin specific '-framework' flag on the gcc/g++ command-line Date: Fri, 05 Aug 2005 18:32:00 -0000 [thread overview] Message-ID: <20050805183248.23251.jrevans1@earthlink.net> (raw) This is a darwin specific flag that is passed to the linker and should be present. // Begin myTest.cpp #include <cstdio> int main(inst argc, char *argv[]) { printf("Hello World\n"); return 0; } // End myTest.cpp // ==================== // Begin myLog.txt jrevans% jrevans% /usr/bin/g++ -o myTest myTest.cpp -framework CoreFoundation jrevans% ./myTest Hello World jrevans% $COTS/bin/g++ -o myTest myTest.cpp -framework CoreFoundation g++: CoreFoundation: No such file or directory cc1plus: error: unrecognized command line option "-framework" jrevans% echo $COTS /Users/jrevans/local jrevans% // End myLog.txt // ==================== Where gcc was compiled with the following flags: jrevans% ../gcc-3.4.4/configure --prefix=/Users/jrevans/local --enable-shared --enable-threads --disable-nls --enable-languages=c,c++,f77 jrevans% make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap See here for further reference: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/IncludingFrameworks.html -- Summary: Missing Darwin specific '-framework' flag on the gcc/g++ command-line Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jrevans1 at earthlink dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin7.9.0 GCC host triplet: powerpc-apple-darwin7.9.0 GCC target triplet: powerpc-apple-darwin7.9.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23251
next reply other threads:[~2005-08-05 18:32 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-05 18:32 jrevans1 at earthlink dot net [this message] 2005-08-05 18:36 ` [Bug target/23251] " pinskia at gcc dot gnu dot org 2005-08-05 18:38 ` pinskia at gcc dot gnu dot org
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=20050805183248.23251.jrevans1@earthlink.net \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).