News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

HLA in ubuntu

Started by DarkWolf, November 25, 2005, 06:56:38 PM

Previous topic - Next topic

Sevag.K

set PATH =/home/sean/hla:$PATH
export hlalib=/home/sean/hla/hlalib/hlalib.a
export hlainc=/home/sean/hla/include

If you have these 3 lines saved with filename "setuphla" then from the bash prompt, you type:

source setuphla


DarkWolf

I don't know what's going on but it doesn't work.

I can use those commands in the shell but not a script or swith source.
So far it appears that I would have to do it manually each time.

I am beginning to think this may yet be another Ubuntu 5.10 glitch (?)

Well I just tried an idea, I copied those three lines into .bashrc
HLA is found but I get the error for not being able to open stdlib.hff

hla reports:

Error in file "test.hla" at line 5 [errid:3462/hla.flx]:
Could not open include file "stdlib.hhf".
Near: << ) >>

Did I progress forwards or backwards ?
--
Where's there's smoke, There are mirrors.
Give me Free as in Freedom not Speech or Beer.
Thank You and Welcome to the Internet.

Sevag.K

Well, now it seems like it can't find your hla include folder.

Try my khla program.  I have it attached and I hope it's the working one as I had a bug recently and can't test it since I don't have access to linux.

There are 2 files in the archive.

khla
khla.ini

place them both in your hla folder.  From there, all you need is a path to khla and the program will find all the relative files (if you already have a working path to hla, you won't have to worry about it).

Use khla just like hla, it recognizes most of hla command line arguments.

[attachment deleted by admin]

DarkWolf

I hadn't thought of using khla, wasn't aware you had a linux version.

Everything works now, thanks.

To let you know (I don't think it was something I did) that the permissions are set wrong.
Khla is not set for anyone, even owner, to execute. But fixed that and now all works, Cool.

:)
--
Where's there's smoke, There are mirrors.
Give me Free as in Freedom not Speech or Beer.
Thank You and Welcome to the Internet.

Sevag.K

Quote from: DarkWolf on January 20, 2006, 06:16:04 PM
I hadn't thought of using khla, wasn't aware you had a linux version.

Everything works now, thanks.


To let you know (I don't think it was something I did) that the permissions are set wrong.
Khla is not set for anyone, even owner, to execute. But fixed that and now all works, Cool.

:)

I'm glad you got that over with :)

About the permissions.  I'm aware of that, but can't do anything about it.  My linux box doesn't have internet access, so I have to transfer files using a jump drive partitioned as vfat (FAT32 in Windows lingo).  Moving across to a vfat filesystem doesn't allow me to preserve permissions.  Sorry, I should've mentioned it.