Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
12 crawler(s) on-line.
 125 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Gunnar:  32 mins ago
 retrofaza:  44 mins ago
 kolla:  47 mins ago
 saimo:  54 mins ago
 A1200:  56 mins ago
 MEGA_RJ_MICAL:  1 hr 1 min ago
 NutsAboutAmiga:  1 hr 24 mins ago
 zipper:  1 hr 24 mins ago
 clint:  2 hrs ago
 RickSkid:  2 hrs 10 mins ago

/  Forum Index
   /  Amiga Development
      /  Hisoft dont seems read ANSI C type commandline parameters
Register To Post

PosterThread
Vanhapolle 
Hisoft dont seems read ANSI C type commandline parameters
Posted on 11-Dec-2014 19:28:12
#1 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

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
Profile     Report this post  
Vanhapolle 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 11-Dec-2014 19:56:45
#2 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

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
Profile     Report this post  
Vanhapolle 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 11-Dec-2014 23:54:07
#3 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

Problem is solved my mistake whi HisoftC+ interface hard tell better.

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 12-Dec-2014 2:45:44
#4 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12795
From: Norway

@Vanhapolle

Tried reading the manual?

http://www.ibaug.de/vbcc/doc/vbcc.html

Anyway direct paths always works

#include "DH0:mystuff/bla/bla/bla.h"

try snoopdos it might help you find out what the compiler tries to do.

Last edited by NutsAboutAmiga on 12-Dec-2014 at 03:01 AM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Vanhapolle 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 12-Dec-2014 12:54:26
#5 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

@NutsAboutAmiga

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
Profile     Report this post  
salass00 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 15-Dec-2014 21:57:16
#6 ]
Elite Member
Joined: 31-Oct-2003
Posts: 2707
From: Finland

@Vanhapolle

Quote:

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
Profile     Report this post  
salass00 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 15-Dec-2014 22:15:52
#7 ]
Elite Member
Joined: 31-Oct-2003
Posts: 2707
From: Finland

@Vanhapolle

Quote:

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
Profile     Report this post  
Vanhapolle 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 19-Dec-2014 7:29:35
#8 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

@salass00

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
Profile     Report this post  
itix 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 19-Dec-2014 13:04:47
#9 ]
Elite Member
Joined: 22-Dec-2004
Posts: 3398
From: Freedom world

@Vanhapolle

Quote:

I bet i done such thing. Still dopnt work says OpenLibrary is for example is not defined...


Did you include proto/exec.h to your file? I dont know about HiSoft C++ but including proto/#?.h stuff is standard these days.

_________________
Amiga Developer
Amiga 500, Efika, Mac Mini and PowerBook

 Status: Offline
Profile     Report this post  
Vanhapolle 
Re: Hisoft dont seems read ANSI C type commandline parameters
Posted on 19-Dec-2014 21:44:57
#10 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

@itix

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.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle