From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16246 invoked by alias); 8 Jan 2003 16:15:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16194 invoked from network); 8 Jan 2003 16:15:39 -0000 Received: from unknown (HELO mail.oarcorp.com) (216.107.91.226) by 209.249.29.67 with SMTP; 8 Jan 2003 16:15:39 -0000 Received: (qmail 18421 invoked from network); 8 Jan 2003 16:15:27 -0000 Received: from unknown (HELO OARcorp.com) (136.205.65.100) by 0 with SMTP; 8 Jan 2003 16:15:27 -0000 Message-ID: <3E1C4E9F.B6A01AC8@OARcorp.com> Date: Wed, 08 Jan 2003 17:15:00 -0000 From: Joel Sherrill Organization: OAR Corporation X-Accept-Language: en MIME-Version: 1.0 To: diwil@eis.ru CC: gcc@gcc.gnu.org Subject: Re: Embedded targets problem References: <200301081733.41836.diwil@eis.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00430.txt.bz2 Dmitry wrote: > > Fellows, > I am trying to port my stuff to current gcc version (taken from CVS). > > It looks like new 'gcov' stuff breaks embedded targets builds. > This is probably cause gcov refers to some includes such as 'stdio.h' and > 'fcntl.h' which not always exist for small machines. This shouldn't break any embedded target which either uses newlib and is configured --with-newlib or has a modest C library that gcc is made aware via the proper configure options. Are you trying to build with no references to the C library at all? > The relevant ChangeLog entry is: > 2002-09-11 Nathan Sidwell > Reimplement gcov format. > * gcov-io.h: Replace. > * gcov.c: Reimplement. > * gcov-iov.c: New file. > * gcov-dump.c: New file. > * libgcc2.c (L_bb): Replace with ... > (L_gcov): ... this. > (struct bb_function_info, struct bb): Remove. > > Is it possible to avoid this appart from patching Makefile? > > gcc-3.2.X builds fine. > > Thanks, > Dmitry. -- Joel Sherrill, Ph.D. Director of Research & Development joel@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985