Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 112 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 agami:  32 mins ago
 Hypex:  38 mins ago
 Hammer:  39 mins ago
 Seiya:  3 hrs 27 mins ago
 matthey:  3 hrs 49 mins ago
 Rob:  4 hrs 59 mins ago
 vox:  5 hrs 3 mins ago
 kolla:  5 hrs 57 mins ago
 mbrantley:  5 hrs 59 mins ago
 pixie:  6 hrs 21 mins ago

/  Forum Index
   /  Amiga Development
      /  Attempt to port pForth v28 to Classic
Register To Post

PosterThread
NathanH 
Attempt to port pForth v28 to Classic
Posted on 22-Jul-2021 0:28:47
#1 ]
Regular Member
Joined: 30-Mar-2005
Posts: 111
From: Caldwell, Idaho USA

I am not a C programmer which is why I am trying to port the above software to Amiga OS 3.x. It compiled fine on Linux but that only required using make with the included makefile. I installed vbcc and have been fixing errors but have run into a bunch of IO errors from stubs that require amiga-specific code. I would appreciate it if someone could give me advice how to proceed from here. Please let me know if I need to provide additional information for this question to make sense. Thanks!

NathanH

Error 21: t_5_5.o (CODE+0x1286): Reference to undefined symbol _sdTerminalFlush.
t_5_5.o: In "l361":
Error 21: t_5_5.o (CODE+0x17be): Reference to undefined symbol _sdQueryTerminal.
t_5_6.o: In "_ioInit":
Error 21: t_5_6.o (CODE+0x2): Reference to undefined symbol _sdTerminalInit.
t_5_6.o: In "_ioTerm":
Error 21: t_5_6.o (CODE+0xa): Reference to undefined symbol _sdTerminalTerm.
t_5_6.o: In "_ioEmit":
Error 21: t_5_6.o (CODE+0x22): Reference to undefined symbol _sdTerminalOut.
t_5_6.o: In "l14":
Error 21: t_5_6.o (CODE+0x54): Reference to undefined symbol _sdTerminalFlush.
t_5_6.o: In "_ioKey":
Error 21: t_5_6.o (CODE+0x9c): Reference to undefined symbol _sdTerminalIn.
t_5_6.o: In "l33":
Error 21: t_5_6.o (CODE+0xbc): Reference to undefined symbol _sdTerminalIn.
t_5_6.o: In "l44":
Error 21: t_5_6.o (CODE+0x10a): Reference to undefined symbol _sdTerminalEcho.
t_5_6.o: In "l35":
Error 21: t_5_6.o (CODE+0x124): Reference to undefined symbol _sdTerminalEcho.

 Status: Offline
Profile     Report this post  
NathanH 
Re: Attempt to port pForth v28 to Classic
Posted on 22-Jul-2021 4:49:29
#2 ]
Regular Member
Joined: 30-Mar-2005
Posts: 111
From: Caldwell, Idaho USA

Okay, solved that problem relatively easy. It compiles and runs but echos output twice and doesn't include floating point words. Hopefully can get that solved tomorrow.

Nathan

 Status: Offline
Profile     Report this post  
salass00 
Re: Attempt to port pForth v28 to Classic
Posted on 23-Jul-2021 8:33:06
#3 ]
Elite Member
Joined: 31-Oct-2003
Posts: 2707
From: Finland

@NathanH

For floating point support you need to link the program with -lmieee or one of the other -lm variants available (-lmsoft/-lm881/-lm040/-lm060).

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle