From: fabio <fabio@crearium.com>
To: linux-c-programming@vger.kernel.org
Subject: gcc -static -ggdb not working
Date: Tue, 25 Oct 2005 23:39:33 -0600 [thread overview]
Message-ID: <435F1695.3050206@crearium.com> (raw)
Hello, I wonder why I cant dbug C programs on Solaris/sparc with gcc:
-bash-3.00$ cat 1.c;\gcc -static -ggdb 1.c -o 1
main(){
printf("hello world\n");
}
ld: fatal: library -lc: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to 1
collect2: ld returned 1 exit status
-bash-3.00$
I use the "\" to avoid bash aliases.
Thanks for the help,
fabio
next reply other threads:[~2005-10-26 5:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-26 5:39 fabio [this message]
2005-10-26 7:31 ` gcc -static -ggdb not working Steve Graegert
2005-10-26 7:28 ` fabio
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=435F1695.3050206@crearium.com \
--to=fabio@crearium.com \
--cc=linux-c-programming@vger.kernel.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.