Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > VFX Forth for L...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3966 of 4050
Post > Topic >>

VFX Forth for Linux and hello world

by Luca Masini <lmasini@[EMAIL PROTECTED] > Mar 24, 2008 at 04:29 AM

Hi,

just started to play with VFX Forth for Linux.

It's an old tradition to start with the hello world program.

I wrote hello.fs
   : main ." Hello VFX-World!" cr ;
   assign main to-do entrypoint
   save hello.elf
   bye

Then spend some time figuring out if vfxlin has some support for
command line arguments and finally compiled with
   vfxlin "include hello.fs" && mv hello.elf hello

The produced executable was working but 'file hello' report this
   hello: ELF 32-bit LSB executable,
   Intel 80386, version 1 (SYSV),
   dynamically linked (uses shared libs),
   corrupted section header size      <-- strange !?

I missed something or do something wrong in my ompilation command?

Luca.




 2 Posts in Topic:
VFX Forth for Linux and hello world
Luca Masini <lmasini@[  2008-03-24 04:29:13 
Re: VFX Forth for Linux and hello world
stephenXXX@[EMAIL PROTECT  2008-03-24 18:01:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 1:06:55 CDT 2008.