English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 25 January 2023, 21:40   #1
Torqual
Registered User
 
Torqual's Avatar
 
Join Date: Feb 2017
Location: Germany
Posts: 27
Compiling Inform 6.41 using SAS/C 6.58

Hey!

I tried to compile the Inform 6.41 compiler on OS 3.1.
https://github.com/DavidKinder/Inform6

Since I'm not a C programmer, I miserably failed. Naturally.
Same crap with the (default ___stub) as in this old thread here:
https://eab.abime.net/showthread.php?t=68978
I guess that it got something to do with not linking the/any math.lib. Thought so on one of my many approaches there, it said something like that. Not sure though.

Long story short: Can please anyone who knows the matter compile that and perhaps upload it to Aminet? Which sports ancient Inform621 anyway, it's woefully outdated!

That would be great!
Torqual is offline  
Old 26 January 2023, 16:48   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
The original author didn't seem to know the meaning of the
extern
attribute, which he put in front of every function definition. But that's just a warning and otherwise the source is portable and easy to compile.

You have to link with mlib as it uses some math functions. I quickly cross-compiled with vbcc for 68020 and mathieee libraries, but couldn't test it because I'm not at home. You find the executable as
inform.lha
in the Zone, as requested.
phx is offline  
Old 27 January 2023, 14:01   #3
Torqual
Registered User
 
Torqual's Avatar
 
Join Date: Feb 2017
Location: Germany
Posts: 27
Thanks!

Unfortunately, i have no access to the Zone.
Torqual is offline  
Old 27 January 2023, 14:07   #4
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,525
Quote:
Originally Posted by Torqual View Post
Unfortunately, i have no access to the Zone.
Have a look here: http://eab.abime.net/faq.php?faq=vb_...ezone_faq_item
TCD is offline  
Old 27 January 2023, 15:23   #5
Torqual
Registered User
 
Torqual's Avatar
 
Join Date: Feb 2017
Location: Germany
Posts: 27
Excellent!
Danke an euch beide!
Torqual is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
vbcc crosscompiling not compiling examplesources, but works in SAS/C on real hardware Firestone Coders. C/C++ 2 23 July 2021 14:47
Compiling problems Brick Nash Coders. AMOS 15 04 August 2020 12:59
Compiling WinUAE 2.1.0 rotacak support.WinUAE 8 06 May 2010 17:09
Compiling 1.3.4 rotacak support.WinUAE 70 22 January 2007 08:13
Compiling WinUAE 1.3.2 rotacak support.WinUAE 1 06 October 2006 20:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:59.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11626 seconds with 13 queries