News:

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

fhla vs hla

Started by V Coder, March 19, 2006, 09:10:11 AM

Previous topic - Next topic

V Coder

Some time ago, I had problems compiling my program successfully using fhla. Tonight I confirmed that both work with hla 1.79/fhla 1.78. And the program appears to work properly.

hla prog prog.rc comctl32.lib comdlg32.lib shell32.lib -w
fhla prog prog.rc comctl32.lib comdlg32.lib shell32.lib -w

the fhla version gives extra information

flat assembler  version 1.64
4 passes, 55191 bytes.
POLINK: warning: /SECTION:.bss ignored; section is missing.

What is that? Is it important?

However to get it to compile with FHLA/FASM/POLINK, I needed to copy the .RES file from the directory with the .HLA the successfully compiled with HLA/MASM/LINK.

Furthermore, I have noticed that the hlalib direcory in the hla.zip (ver 1.81) file contains the same 9 files
advapi32.lib
gdi32.lib
hlalib.lib
kernel32.lib
oldhlalib.lib
user32.lib
vssver.scc
winicons.lib
winmain.lib

My program does not compile if any of comctl32.lib comdlg32.lib shell32.lib is not listed on the compile line, and these lib files are found in the masm32\lib direcotory.

Is fhla fully ready to replace hla/masm?

Sevag.K

Quote from: V Coder on March 19, 2006, 09:10:11 AM
Some time ago, I had problems compiling my program successfully using fhla. Tonight I confirmed that both work with hla 1.79/fhla 1.78. And the program appears to work properly.

hla prog prog.rc comctl32.lib comdlg32.lib shell32.lib -w
fhla prog prog.rc comctl32.lib comdlg32.lib shell32.lib -w

the fhla version gives extra information

flat assembler  version 1.64
4 passes, 55191 bytes.
POLINK: warning: /SECTION:.bss ignored; section is missing.


What is that? Is it important?

No.  POLINK is telling you that it is ignoring the .bss section which HLA creates in the linker response file by default.  POLINK combines these sections in .data section.

Quote
However to get it to compile with FHLA/FASM/POLINK, I needed to copy the .RES file from the directory with the .HLA the successfully compiled with HLA/MASM/LINK.

Furthermore, I have noticed that the hlalib direcory in the hla.zip (ver 1.81) file contains the same 9 files
advapi32.lib
gdi32.lib
hlalib.lib
kernel32.lib
oldhlalib.lib
user32.lib
vssver.scc
winicons.lib
winmain.lib

My program does not compile if any of comctl32.lib comdlg32.lib shell32.lib is not listed on the compile line, and these lib files are found in the masm32\lib direcotory.

Is fhla fully ready to replace hla/masm?

These files have to be somewhere on your LIB path no matter which version you are using.
Does your problem occur only with programs that have a resource or with all programs?