Changeset 263


Ignore:
Timestamp:
May 28, 2003, 9:59:52 PM (22 years ago)
Author:
bird
Message:

-Zcrtdll hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/libc.specs

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r262 r263  
    1616
    1717*cpp:
    18 %(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{pg:-D__GPROF__} %{Zmt*:} %{mepilogue:-D__EPILOGUE__} %{mprobe|mstack-arg-probe:-D__STACK_PROBE__} -D__cdecl=__attribute__((__cdecl__)) -D__stdcall=__attribute__((__stdcall__)) %{!ansi: -D_cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) -D_Cdecl=__attribute__((__cdecl__)) -D_Optlink=__attribute__((__optlink__)) -D_System=__attribute__((__system__))}
     18%(cpp_cpu) %{posix:-D_POSIX_SOURCE} -D__MT__ %{Zmt*:}  %{pg:-D__GPROF__} %{mepilogue:-D__EPILOGUE__} %{mprobe|mstack-arg-probe:-D__STACK_PROBE__} -D__cdecl=__attribute__((__cdecl__)) -D__stdcall=__attribute__((__stdcall__)) %{!ansi: -D_cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) -D_Cdecl=__attribute__((__cdecl__)) -D_Optlink=__attribute__((__optlink__)) -D_System=__attribute__((__system__))}
    1919
    2020*cpp_options:
     
    4646
    4747*lib:
    48 -lc%{p|pg:_p} %G -lc_app%{pg:_p} -lc%{p|pg:_p}
    49 
    50 # bird: better get the DLLs linking at moment.
    51 # -lc%{p|pg:_p} %G %{!Zdll:-lc_app%{pg:_p}} -lc%{p|pg:_p}
     48-lc%{p|pg:_p} %G %{!Zdll:-lc_app%{pg:_p}} -lc%{p|pg:_p}
    5249
    5350*libgcc:
     
    6158
    6259*predefines:
    63 -D__32BIT__ -D__EMX__ -D__OS2__ -D__i386__ -D__i386 -Dunix -D__MT__ -Asystem=unix -Asystem=posix
     60-D__32BIT__ -D__EMX__ -D__OS2__ -D__i386__ -D__i386 -Dunix -Asystem=unix -Asystem=posix
    6461
    6562*cross_compile:
     
    133130
    134131*link_command:
    135 %{!fsyntax-only: %{!c:%{!M:%{!MM:%{!E:%{!S:%{Zomf:emxomf}ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:} %{L*} %D %{T*} %o %{!nostdlib:%{!nodefaultlibs:%G -lc_alias %L -los2%{pg:_p} %L -los2%{pg:_p} %{Zomf:-lend}}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}}}}}}}}
     132%{!fsyntax-only:  %{!c:%{!M:%{!MM:%{!E:%{!S:%{Zomf:emxomf}ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:} %{L*} %D %{T*} %o %{!nostdlib:%{!nodefaultlibs:%G -lc_alias %{!Zcrtdll*:%L} %{Zcrtdll*:-lc_dll} -los2%{pg:_p}  %{!Zcrtdll*:%L} %{Zcrtdll*:-lc_dll} -los2%{pg:_p} %{Zomf:-lend}}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}}}}}}}}
     133
     134# stage 2?
     135#%{!fsyntax-only: %{!c:%{!M:%{!MM:%{!E:%{!S:%{Zomf:emxomf}ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:} %{L*} %D %{T*} %o %{!nostdlib:%{!nodefaultlibs:%G -lc_alias %{!Zcrtdll*:%L} %{Zcrtdll=*:-l%* -los2%{pg:_p}} -los2%{pg:_p} %{Zomf:-lend}}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}}}}}}}}
    136136
    137137# bird: while -Zcrtdll isn't working.
Note: See TracChangeset for help on using the changeset viewer.