Hisoft dont seems read ANSI C type commandline parameters. dont even still say anything when now i try install vbcc for classic amiga. i tired look argc is zero my program tries say no file name defined. and if two or more says something else...
i try post my code maybe later here.
Status: Offline
Vanhapolle
Re: Hisoft dont seems read ANSI C type commandline parameters Posted on 11-Dec-2014 19:56:45
i have problem with vbcc it dont found include files even i showed where they are same applies even for morphos and amigaos m68k target. Makes me angry becouse i really want code.
Status: Offline
Vanhapolle
Re: Hisoft dont seems read ANSI C type commandline parameters Posted on 11-Dec-2014 23:54:07
Of course i am tired i think and problem then when i use direct patchs if i do something ansi c related which want be portable.(Unlikely thing but possible). Try look again manual.
Status: Offline
salass00
Re: Hisoft dont seems read ANSI C type commandline parameters Posted on 15-Dec-2014 21:57:16
i tired look argc is zero my program tries say no file name defined.
When using AmigaOS C compilers argc is usually always zero if the program was started from WB. This will also mean that argv rather than pointing to the usual string array will be a pointer to a WBStartup structure containing WB args.
Status: Offline
salass00
Re: Hisoft dont seems read ANSI C type commandline parameters Posted on 15-Dec-2014 22:15:52
i have problem with vbcc it dont found include files even i showed where they are same applies even for morphos and amigaos m68k target. Makes me angry becouse i really want code.
Regarding the m68k target did you install (extract) the 3.9 NDK beforehand and point VBCC to the correct include directory inside the NDK directory during installation?
That is: NDK3.9/include/include_h
Apart from this I don't really see how you can fail at installing VBCC as the provided install scripts do pretty much all the work for you.
BTW to force cross-compiling using m68k target you simply add +aos68k to the commandline.
Status: Offline
Vanhapolle
Re: Hisoft dont seems read ANSI C type commandline parameters Posted on 19-Dec-2014 7:29:35
I bet i done such thing. Still dopnt work says OpenLibrary is for example is not defined... but btw hisoft c++ works fine at least classic amiga. with MorphOS there is some prblems which is hard describe.
Status: Offline
itix
Re: Hisoft dont seems read ANSI C type commandline parameters Posted on 19-Dec-2014 13:04:47
I dont remember but i look this next time when i boot classic amiga. i dont still know is there point use VBCC when i have HiSoft C++. I maybe still look which makes smaller executable. When i get it fully working state not much needed.