English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 24 July 2020, 21:14   #1
FirstNE
Registered User
 
Join Date: May 2020
Location: Norwich, CT, USA
Posts: 39
vbcc and include files

Does anyone know what to do about getting include files into VBCC? I have a bunch of them from other compilers (ie gcc) - can I just move them into the vbcc directory? And if I do that will #include <string.h> work in my code?
FirstNE is offline  
Old 25 July 2020, 01:32   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by FirstNE View Post
Does anyone know what to do about getting include files into VBCC?
Which include files? What are you missing?

Quote:
I have a bunch of them from other compilers (ie gcc) - can I just move them into the vbcc directory?
First of all I wouldn‘t copy any 3rd party headers into vbcc's standard include directory. Better use the -I option or use "assign vincludeos3: add" if you want to add them permanently.

gcc headers often use gcc-specific, non-standard additions, which might cause problems.

Quote:
And if I do that will #include <string.h> work in my code?
Why do you want to replace a standard header file? Never do that! Or you have to replace the startup-code and clib as well, or even the compiler.
phx is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Devpac include files? anotheramigafan Coders. General 2 21 August 2018 21:44
Basic/System include files guy lateur Coders. Asm / Hardware 6 05 July 2017 12:53
VBCC and #include majikeyric Coders. C/C++ 3 03 March 2016 15:07
vbcc multiple include paths krustur Coders. C/C++ 2 20 October 2014 23:46
Include files needed Galahad/FLT support.Apps 2 03 September 2007 20:11

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:44.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06617 seconds with 15 queries