Here's the code:
program testLinux;
#include( "stdlib.hhf" )
begin testLinux;
stdout.put( "Hello, World of Assembly Language", nl );
end testLinux;
Here's the errors:
test.o: In function `_findEnvp_':
(.text+0x66): undefined reference to `BuildExcepts__hla_'
test.o: In function `_findEnvp_':
(.text+0x75): undefined reference to `STDOUT_PUTS'
test.o: In function `_findEnvp_':
(.text+0x7f): undefined reference to `STDOUT_PUTS'
test.o: In function `InstallSignals__hla_':
(.text+0x39): undefined reference to `excepts_install_signals'
test.o: In function `DfltExHndlr__hla_':
(.text+0x3e): undefined reference to `DefaultExceptionHandler__hla_'
Error returned by ld = 256
It's a real simple program but did I do something wrong or could this be related to v1.88
Does stdout.put work differently now ?
You should try the new experimental 1.89 version:
http://webster.cs.ucr.edu/hla.zip
http://webster.cs.ucr.edu/hla.tar.gz
Nathan.
Quote from: DarkWolf on March 10, 2007, 02:06:21 AM
Here's the code:
program testLinux;
#include( "stdlib.hhf" )
begin testLinux;
stdout.put( "Hello, World of Assembly Language", nl );
end testLinux;
Here's the errors:
test.o: In function `_findEnvp_':
(.text+0x66): undefined reference to `BuildExcepts__hla_'
test.o: In function `_findEnvp_':
(.text+0x75): undefined reference to `STDOUT_PUTS'
test.o: In function `_findEnvp_':
(.text+0x7f): undefined reference to `STDOUT_PUTS'
test.o: In function `InstallSignals__hla_':
(.text+0x39): undefined reference to `excepts_install_signals'
test.o: In function `DfltExHndlr__hla_':
(.text+0x3e): undefined reference to `DefaultExceptionHandler__hla_'
Error returned by ld = 256
It's a real simple program but did I do something wrong or could this be related to v1.88
Does stdout.put work differently now ?
I think that the stdlib under Linux wasn't compiled properly.
Take Nathan's suggestion and try v1.89. It seems to be working pretty good now.
Cheers,
Randy Hyde
Yes that works now, and I still have to remember to prefix './' to my executable names when I want to run them : )
Looking forward to the 1.9/2.0 release.