You can put your project in any folder you want, You just have to initialize the following environment variables :
Using Windows, suppose "fusion-c" folder is in C:\Fusion-C-v1.2
( so, C:\Fusion-C-v1.2\fusion-c )
before calling compil.bat :
SET FC=C:\Fusion-C-v1.2
add in compil.bat :
SET SDCC_INCLUDE=%FC%\fusion-c
and modify :
SET INCLUDEDIR=%FC%\fusion-c\include\
SET LIBDIR=%FC%\fusion-c\lib\
Same thing if you use Linux with export and ${FC} in compil.sh
Ok thanks, i wil give it a try
I tested it and it works, thanks.
Now it's time for me to learn C
Hello, first i need to say thanks to Eric Boez & co. for the book and the libraries, this is an amazing piece of work, thanks again.
I have a question, in the book Sublime Text is recommended as an IDE but Sublime Text is NOT free software, you have to pay for use it and it's not cheap...
I don't care paying for an IDE but for sure there are x100 better options oustide like Visual Studio Code, and in this case it's free (and better).
Now the questions... Has anyone configured & Integrated SDCC with Visual Studio Code? What extensions do you use?
It's possible to make a few macros in VS Code like compile/run in openMSX /debug etc?
I know maybe is out the scope of the book contemplating other IDEs but really, i don't like to spend $80 bucks for a text editor so if anyone have a few tricks to share with VSCode will be great and appreciated.
Thanks and happy new year to all
@DRomero
First thank you for your interest in FUSION-C.
I recommended SUBLIME TEXT because it is with this IDE that I work, and because it exists on Windows / MacOS / LINUX platforms. I want FUSION-C to be a multi-platform tool.
SUBLIME TEXT is not free, but it can be used completely free as long as you want, without limitation of functionalities. There is just one POP UP that appears every 100 files saved.
Of course, you can use other IDE. The best IDE is the one we know best.
I know AKUMAJO is coding with ECLIPSE. Perhaps he can give you (us) the way to configure it for FUSION-C
Hello everybody!
Best wishes for the new year!
As Eric said, I use Eclipse for coding programs in C, C++, Java. But I have no experience in using Visual Studio because my home computer OS is Linux. Eclipse is free, widely used and works on MacOS / Windows / Linux.
With Eclipse you can duplicate a template project (with individual MSX-DOS directory), compile for MSX1 or MSX2 and more, launch you program.
If any of you are interested in using Fusion-C with Eclipse, let me know
Thanks Eric. Didn't know you can use Subline without limitations as free software. Just saw the Not Free tag at their webpage and the price, that's why I asked. If it's only a few popups I can deal with it.
Any way didn't want to sound rude or anything, love the book
Will use sublime then, but if anyone has a working environment for Visual Studio Code (its multi platform too, it works on Linux, Mac and Windows) and can share their config should be a plus.
Thanks
Thanks akumajo, I think both of you are confusing the big Visual Studio IDE used to compile Windows Apps and Visual Studio Code... the last is multi platform
Anyway thanks
Right, I don't know either Visuel Studio Code, I wish you good developments with Fusion-C Dromero
Hi, best wishes for 2020 all firstly,
I use Fusion-C with Visual Studio Code, but have not figured out a way to use the compile function yet, didn't really try it, I use a batch file.
I used to use Code-Blocks as an IDE, I did manage to use compile functionality in it.
I will try to make it really work and post it in this thread.