flat assembler
Message board for the users of flat assembler.

Index > Linux > Fasm environmental variables

Author
Thread Post new topic Reply to topic
Dragontamer



Joined: 24 Aug 2003
Posts: 84
Dragontamer 20 Sep 2004, 04:23
I have tried and tried, but i cannot get Fasm to reconize the environmental variables. Please help.

Here is a console output:
Code:
edit@dragontamer2:~/programming/asssembly$ FASMINC="/home/edit/fasminc"
edit@dragontamer2:~/programming/asssembly$ echo $fasminc
/home/edit/fasminc
edit@dragontamer2:~/programming/asssembly$ fasm sockets.asm 
flat assembler  version 1.55
sockets.asm [3]:
include '%FASMINC%/socket.inc'
error: file not found.
edit@dragontamer2:~/programming/asssembly$ cd ~/fasminc
edit@dragontamer2:~/fasminc$ dir
net.inc  socket.inc  socket_constants.inc  unistd.inc  unistdm.inc
edit@dragontamer2:~/fasminc$ 
    
Post 20 Sep 2004, 04:23
View user's profile Send private message Reply with quote
Dragontamer



Joined: 24 Aug 2003
Posts: 84
Dragontamer 20 Sep 2004, 05:43
I feel like an official idiot.

I forgot to export the darn thing.

NOW it works.
Post 20 Sep 2004, 05:43
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 22 Sep 2004, 17:39
hehe, happes to all of us Smile
Post 22 Sep 2004, 17:39
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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.