Using C Libs in BASIC compilers?

Status
Not open for further replies.

sadat007

Full Member level 4
Joined
Dec 31, 1999
Messages
235
Helped
13
Reputation
26
Reaction score
7
Trophy points
1,298
Location
Pakistan
Activity points
1,773
Hi,
Is there any way to use the C libraries in BASIC compilers like Bascom and fastavr.
Thanks
 

Given that you are mentioning FASTAVR and BASCOM (assuming the AVR version), my first guess would be no. I would still see if it could happen.

If it is on the PC side (there is C and BASCOM there), yes it can be done. There is a calling convention change (from the stack perspective) and there are a few simple flags to change it. This is available because M$ controlled most of the compiler technology early and everyone adopted the same formats. This has not been the case in the embedded world.

robotman
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…