flat assembler
Message board for the users of flat assembler.

flat assembler > Main > "include" env var versus "fasminc"

Author
Thread Post new topic Reply to topic
ucode81



Joined: 14 Sep 2003
Posts: 5
I have found the use of the "include" environment variable that specificies the FASM include location (which is actually %include% in DOS/Win32) to be distasteful.

Why? All of my other compiler tools use INCLUDE and they accept a list of directories in the form of "dirpath1;dirpath2;...;dirpathN". I have all these paths set at Win startup (or console startup) and, even more important, at Linux startup.

FASM wants a single directory and only its directory. So, in order to run FASM, I have to run a little batch script that overrides INCLUDE to set the single FASM directory. Why am I forced to fly in the face of convention?

As the way INCLUDE is commonly used is being violated, I suggest changing the variable to FASMINC. I have done so already in my source tree (you could even hot-patch the binary as the name is still 7 characters) and no longer need a startup script everytime I run FASM. I would like to propose that FASM be altered to fit better with the other tools out there.
Post 02 Oct 2003, 15:58
View user's profile Send private message Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Tomasz, what do you think about adding support of environment-variables which contains several pathes separated by the ; character - if you take my meaning?

Tommy
Post 02 Oct 2003, 16:20
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
You can still use fasmw and it's fasmw.ini config file - this way you don't have to use neither INCLUDE nor FASMINC environment variables. For mode details see fasmw documentation.
Post 02 Oct 2003, 16:31
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.