Re: bug czy brak umiejetnosci?

Autor: Stanislaw Kozlowski (skozlowski_at_dsi.pekaosa.pl)
Data: Mon 11 Feb 2002 - 14:34:50 MET


Make file:
++++++++++++++++++++++++++++++++++++++++++++

cc=iccv4 /C+ /O- /Gd- /Gm- /Ge+ /Gi- /Gt+ /Gs+ /Re /Ss+ /Sm+ /Sp1 /Mp
/Iinclude /Tl- \
 /Wcmp+ /Wcnd+ /Wcns+ /Wcnv+ /Wdcl+ /Wgen+ /Word+ /Wppc+ /Wpro+ /Wrea+\
 /Wret+ /Wtrd+ /Wuse+ /Q+
#/C+ compile only
#/O- don't optimize
#/Ge- generate DLL
#/G4 generate for 486
#/Gd- static link
#/Gs+ - remove stack checking
#/Gm+ multithread
#/Ge+ generate executable
#/Ge- generate DLL
#/Gi+ generate fast integer code
#/Gt+ variable don't cross 64Kb
#/Re C/C++ run time enviroment
#/Ss+ // for comment
#/Sm+ ignore migration keywords (fortran)
#/Sp1 pack structures on 1 byte boundary
#/Mp default linkage _Optlink
#/Tl- unload after use
#/Q+ supress the logo

all: escript2.exe

escript2.exe: escriptw.obj escript2.mak
   vacbld escript2.icc -NOC

escriptw.obj: escriptw.c escript2.mak
  $(cc) escriptw.c

+++++++++++++++++++++++++++++++++++++
ICC file:
+++++++++++++++++++++++++++++++++++++

tool 'config_opt'

option compatibility_options =
 link(nameMangling,compat)

        group R_escript2_exe_ = 'escriptw.obj', 'escript2.mak'
        option compatibility_options,
               link(alignfile,4),
               link(base,0x10000),
               link(extdictionary,no),
               link(ignorecase),
               link(pmtype,'vio')
        {
           target type(exe) 'escript2.exe'
           {
              source type(obj) 'escriptw.obj'
              source type(lib) 'os2386.lib'
           }
        }
+++++++++++++++++++++++++++++++++++++++++++++++++

program file:
++++++++++++++++++++++++++++++++++++++++++++++++
#include<stdio.h>
void main(void)
{printf("Hello\n");
 }
+++++++++++++++++++++++++++++++++++++++++++++++++
"Lech Wiktor Piotrowski" <lewhoo_at_teamos2.org.pl> wrote in message
news:200202092009.00001GKO_at_pc2004...
> probowalem kiedys napisac progrma VIO - pisalem go pod VAC 4.0, ale na
> najprostrzych rzeczach mi sie wykladal - execption...
>
> Cos mnie tknelo zeby sprobowac pod gcc... I dziala. Pytnaie, czy VACek nie
umie tego
> skompilwoac, czy ja czegos nie ustawilem? W linkerze bylo podane, ze
VIO...
>
> --------------------------------------------------------------------------
-------------------------
> Lech Wiktor Piotrowski | ICQ#: 50746253 | lewhoo_at_teamos2.org.pl
> TeamOS/2 Poland Webmaster - http://www.teamos2.org.pl
> Inne systemy maja uzytkownikow, OS/2 ma wyznawcow
> This OS/2 system uptime is 0d 4h 43m 09s 60ms (en).
> Emergency mail: lwpiotr_at_tempac.fuw.edu.pl; lewhoo_at_dione.ids.pl
> --------------------------------------------------------------------------
-------------------------
>
>



To archiwum zostało wygenerowane przez hypermail 2.1.7 : Tue 18 May 2004 - 15:36:55 MET DST