From: Thomas Martitz <thomas.martitz@student.htw-berlin.de>
To: gcc-help@gcc.gnu.org
Subject: Re: -nostdlib option!
Date: Tue, 15 Feb 2011 14:56:00 -0000 [thread overview]
Message-ID: <4D5A6DD1.5060205@student.htw-berlin.de> (raw)
In-Reply-To: <AANLkTik1WwZ7WnCesfvz9y06+4kOo153J1OnvMxuwhz=@mail.gmail.com>
Am 15.02.2011 08:36, schrieb ali hagigat:
> I wonder if anybody
> can write a simple C program and compile it with -nostdlib so that the
> compiler needs one of mem functions and the compiler stops with an
> error.
Try struct assigments (e.g. struct foo bar = baz). Perhaps if they're
big enough gcc doesn't inline the implicit memcpy anymore.
Best regards.
next prev parent reply other threads:[~2011-02-15 12:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 11:18 ali hagigat
2011-02-07 11:21 ` Drasko DRASKOVIC
2011-02-07 12:44 ` Manuel Coutinho
2011-02-07 14:43 ` ali hagigat
2011-02-07 15:22 ` Kai Ruottu
2011-02-07 16:20 ` Manuel Coutinho
2011-02-07 16:48 ` Drasko DRASKOVIC
2011-02-07 17:57 ` Manuel Coutinho
[not found] ` <4D59BEDC.9000606@yahoo.com>
2011-02-15 9:50 ` ali hagigat
2011-02-15 10:28 ` Axel Freyn
2011-02-15 12:13 ` Jonathan Wakely
2011-02-16 10:05 ` Axel Freyn
2011-02-15 14:56 ` Thomas Martitz [this message]
2011-02-15 15:52 ` Ian Lance Taylor
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=4D5A6DD1.5060205@student.htw-berlin.de \
--to=thomas.martitz@student.htw-berlin.de \
--cc=gcc-help@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: link
Be 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).