From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100533 invoked by alias); 7 Sep 2017 20:59:11 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 100319 invoked by uid 89); 7 Sep 2017 20:59:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=family, perfect X-HELO: mail-qt0-f177.google.com Received: from mail-qt0-f177.google.com (HELO mail-qt0-f177.google.com) (209.85.216.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Sep 2017 20:59:06 +0000 Received: by mail-qt0-f177.google.com with SMTP id h15so2226836qta.4 for ; Thu, 07 Sep 2017 13:59:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QF3e2/i1Dv5qkPhOLFSSynPRmP9x0ZSayKtwTYpMjkw=; b=FSIdyks7rOXN86VaO9HVyMAMqcyLt9VhqtHAA2ofB39HvEj4QCvbQTzCCwI98hTBz9 zEYAlh38z6/8F92HgvFHp1GiJo2vm7ULTHuUdfYmTJFc1nZzNwJh25BpBkV9Xd5B7h6D qD+QfB9TpLNa62KdsXafM/NBMaBy3P7MtOiRfrWhryDIsBnichnj3ddrHAT6oWKvPGjJ zIpkScTCcoMd2kmf7ZzDti3bNGlKqWGgArWixoMq3T3ocJJtmeWV/uc/Lncl6KE23KK8 BvWnGwm0kqyn67RIVkt4P+qk4vOeIM6UyCX9m8J/7SUhZtHReenbTjGlGdVDmxVNxVgS FuNw== X-Gm-Message-State: AHPjjUi0PGk9yQEAiUFiLBXMwk4UbjYuFWXO515Na2EXKRCWP7V7quBN nLVH1hQ7eUXqgBmwpUqgyKaRY7EeEY8W X-Google-Smtp-Source: AOwi7QB8kqmVBhnCohgBgYfk8QW5/eC94P77VeubvcU58mPmTyHWZoeDqK9byi0QkkpP8nHyHmwAM/GTVjj3z2xJlhw= X-Received: by 10.237.34.214 with SMTP id q22mr929203qtc.231.1504817944912; Thu, 07 Sep 2017 13:59:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.42.86 with HTTP; Thu, 7 Sep 2017 13:59:04 -0700 (PDT) From: Claudio Eterno Date: Thu, 07 Sep 2017 20:59:00 -0000 Message-ID: Subject: Information on usage To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-09/txt/msg00022.txt.bz2 Hello, generally I work with a microcontroller that can be compiled in C by its specific compiler(C166 family). With this compiler it is possible to generate the preprocessed of a file but the output I obtain isn't so exaustive like gcc does when I do the same job in linux (gcc -E -dD...). Recently I made a test with gcc including paths of the C166(so the default headers, instead the linux default libs, are taken from the microcontroller directory). The result, apart the built-in defines that gcc insert(these can be easily removed with a script), is perfect for build a preprocessed header. My question: is this usage of gcc a valid use? Should I expect some traps? Consider this not a bug but an help request ... Thank you, Claudio