How to choose the compilation destination, of an EXE or DLL

General FreeBASIC programming questions.
Post Reply
Tolo68
Posts: 105
Joined: Mar 30, 2020 18:18
Location: Spain

How to choose the compilation destination, of an EXE or DLL

Post by Tolo68 »

Hello everyone, I have searched for information but I don't know how to do it.

I have a code.bas on a disk, and I want it to be compiled in a destination folder.
I am making a DLL, and I want it to be compiled in C:/Windows/System, so I can call it from any IDE.
What I do is the following, this is an example that I have found with an EXE, but it does not work...

D:/Programacion/FreeBasic_1090/fbc -o "C:/prueba.exe" -b "D:/prueba.bas"

Thank you very much to all
Greetings!!!!
fxm
Moderator
Posts: 12107
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: How to choose the compilation destination, of an EXE or DLL

Post by fxm »

See the Compiler Option: -x.
(set executable/library path/name)
Tolo68
Posts: 105
Joined: Mar 30, 2020 18:18
Location: Spain

Re: How to choose the compilation destination, of an EXE or DLL

Post by Tolo68 »

fxm wrote: Apr 04, 2022 18:12 See the Compiler Option: -x.
(set executable/library path/name)

Thank you very much fxm, it worked for me!!
Greetings!!!
Post Reply