delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/24/11:35:13

From: "Sang-won Shin" <swshin AT soback DOT kornet21 DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ive tried, I need a "spec" file
Date: Sat, 24 Oct 1998 01:05:02 +0900
Organization: Korea Telecom
Lines: 91
Message-ID: <70svaj$pmg$1@news.kornet.nm.kr>
References: <3631b3ca DOT 0 AT news1 DOT mweb DOT co DOT za>
NNTP-Posting-Host: 210.123.18.188
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dalvemg ÀÌ(°¡) <3631b3ca DOT 0 AT news1 DOT mweb DOT co DOT za> ¸Þ½ÃÁö¿¡¼­ ÀÛ¼ºÇÏ¿´½À´Ï´Ù...
>Im trying to use rsxntdj with djgpp version 2.8.1
>
>Ive done everything I can think of but everytime I try putting that patch
>for the *Link: in the spec and type gcc -v I get told my spec file is
>malformed after xx bytes. Could someone please email me with their spec
file
>at dalvemg AT mweb DOT co DOT za
>
>I even tried downloading the one off winalleg site, but when I saved it, it
>lost all the format and stuff (Turned into a solid block of text...).
>I saved it in html, txt but nothing seems to work.
>
>
>
>
>

Here is my specs file....

*asm:


*asm_final:


*cpp:
%{posix:-D_POSIX_SOURCE} %{Zmt: -D__MT__} %{Zdll: -D__DLL__}
%{Zcrtdll*:-D__CRTRSXNT__}\
%{Zwin32: -D__WIN32__ -D__RSXNT__ -D__EMX__ -ID:/rsxntdj/include}

*cc1:


*cc1plus:


*endfile:


*link:
%{Zwin32: -LD:/rsxntdj/lib/all -LD:/rsxntdj/lib/mt -LD:/rsxntdj/lib/st}

*link_command:
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
        %{L*} %D %{T*} %o %{!Zwin32: -Tdjgpp.djl}%{Zwin32: -Trsxnt.djl}\
        %{!nostdlib: %{!Zwin32: -lgcc %L -lgcc %{!A:%E}} \
        %{Zwin32: %{!Zdll:-lmain} %{Zdll:-ldll} -lalias \
        %{!Zcrtdll*: %G %L %G
%{!Zno-rte:-lemx -lemx2} -lkrn32 -lusr32 -lgdi32} \
        %{Zcrtdll*: -lstati %{!Zmt: -lcrtcs}
%{Zmt: -lcrtcm} -lemx2 -lkrn32 -lusr32 -lgdi32}} }}}}}}
%{!Zwin32:%{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out}}}}}}}
%{Zwin32:%{!c:%{!M:%{!MM:%{!E:%{!S:%{!o*:%especs: no output name} ntbind
%{!g:-remove} %{o*:%*} %{Zrsx32: -s dosstub.rsx }}}}}}}

*lib:
-lc
%{Zwin32:%{Zdll:%{Zso:-ldllso}%{Zno-rte:-ldllno}%{!Zso:%{!Zno-rte:-ldllrt}}}
%{!Zdll:-lc_app} -lc}

*startfile:
%{!Zwin32:%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}} \
%{Zwin32:%{!Zdll:crt0w32.o%s}%{Zdll:dll0w32.o%s} %{Zsysv-signals:
sigsysv%O%s} %{Zbsd-signals: sigbsd%O%s} %{Zbin-files: binmode%O%s}}

*switches_need_spaces:


*signed_char:
%{funsigned-char:-D__CHAR_UNSIGNED__}

*predefines:
-Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1

*cross_compile:
0

*multilib:
st Zwin32 !Zmt;mt Zwin32 Zmt;








- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019