Changeset 7ab6fc2 in mainline for uspace/app


Ignore:
Timestamp:
2011-04-09T19:15:26Z (15 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40ef3ed
Parents:
2e08dce7
Message:

setting POSIX_COMPAT=1 in the makefile now makes compat headers preferred and links with libcompat

Location:
uspace/app/pcc/cc/cpp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/pcc/cc/cpp/Makefile

    r2e08dce7 r7ab6fc2  
    2727#
    2828
    29 # TODO: prefer libcompat headers to libc
    30 
    3129ARCH = i386  # FIXME: figure out the real arch
    3230
    3331USPACE_PREFIX = ../../../..
    34 LIBS = $(LIBCOMPAT_PREFIX)/libcompat.a
    3532MIPDIR = ../../mip
    3633ARCHDIR = ../../arch/$(ARCH)
    37 EXTRA_CFLAGS = -I$(LIBCOMPAT_PREFIX) -I$(MIPDIR) -I$(ARCHDIR)
     34EXTRA_CFLAGS = -I$(MIPDIR) -I$(ARCHDIR)
    3835EXTRA_CLEAN = y.tab.c y.tab.h
    3936DEFS = -DCPP_DEBUG -Dfree=free -DCPPBUF=16384
    4037BINARY = cpp
     38
     39POSIX_COMPAT = 1
    4140
    4241YACC = yacc
  • uspace/app/pcc/cc/cpp/cpp.c

    r2e08dce7 r7ab6fc2  
    3737#include <sys/wait.h>
    3838#endif
    39 #include <compat/sys/stat.h>
     39#include <sys/stat.h>
    4040
    4141#include <fcntl.h>
    4242#ifdef HAVE_UNISTD_H
    43 #include <compat/unistd.h>
     43#include <unistd.h>
    4444#endif
    4545#include <stdio.h>
     
    4747#include <stdlib.h>
    4848#include <string.h>
    49 #include <compat/time.h>
     49#include <time.h>
    5050#include <ctype.h>
    5151
  • uspace/app/pcc/cc/cpp/token.c

    r2e08dce7 r7ab6fc2  
    4545#include <stdlib.h>
    4646#include <string.h>
    47 #include <compat/ctype.h>
     47#include <ctype.h>
    4848#ifdef HAVE_UNISTD_H
    4949#include <unistd.h>
Note: See TracChangeset for help on using the changeset viewer.