English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. System (https://eab.abime.net/forumdisplay.php?f=113)
-   -   vbcc and include files (https://eab.abime.net/showthread.php?t=103247)

FirstNE 24 July 2020 21:14

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?

phx 25 July 2020 01:32

Quote:

Originally Posted by FirstNE (Post 1415877)
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. ;)


All times are GMT +2. The time now is 02:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.07261 seconds with 11 queries