Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e898296d in mainline


Ignore:
Timestamp:
2011-08-11T00:16:53Z (10 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
3e01316f
Parents:
814717fa
Message:

Integration fixes.

Location:
uspace/app/pcc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/pcc/cc/cc/cc.c

    r814717fa re898296d  
    11501150                        }
    11511151                }
     1152#ifdef __helenos__
     1153                av[j++] = "-T";
     1154                av[j++] = "/inc/_link.ld";
     1155#endif
     1156               
    11521157                av[j++] = 0;
    11531158                eflag |= callsys(ld, av);
  • uspace/app/pcc/cc/ccom/main.c

    r814717fa re898296d  
    314314
    315315        mkdope();
     316#ifndef __helenos__
    316317        signal(SIGSEGV, segvcatch);
     318#endif
    317319#ifdef SIGBUS
    318320        signal(SIGBUS, segvcatch);
  • uspace/app/pcc/config.h

    r814717fa re898296d  
    66
    77/* Define path to alternate assembler */
    8 //#undef ASSEMBLER
     8#define ASSEMBLER "/app/as"
    99
    1010/* Using Classic 68k ABI */
     
    148148
    149149/* Define alternate standard include directory */
    150 #define STDINC "/inc/"
     150#define STDINC "/inc/c"
    151151
    152152/* Define if target defaults to BIG endian */
  • uspace/app/pcc/os/helenos/ccconfig.h

    r814717fa re898296d  
    3535#define CPPADD  { "-D__helenos__", "-D__ELF__", NULL, }
    3636
    37 #define CRT0FILE ""
    38 #define CRT0FILE_PROFILE ""
     37#undef CRT0FILE
     38#undef CRT0FILE_PROFILE
    3939
    40 #define LIBCLIBS { NULL }
     40#define LIBCLIBS { "/lib/libc.a", "/lib/libsoftfloat.a", "/lib/libsoftint.a", NULL }
    4141#define LIBCLIBS_PROFILE LIBCLIBS
    4242
     
    4747#define ENDFILES_S { NULL }
    4848
    49 #define STARTLABEL "_start"
     49#define STARTLABEL "__entry"
    5050
    5151#if defined(mach_ia32)
     
    7474
    7575#ifndef STDINC
    76 #define STDINC "/include/"
     76#define STDINC "/inc/c/"
    7777#endif
    7878
Note: See TracChangeset for help on using the changeset viewer.