This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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 <nathan@codesourcery.com> > 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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |