English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 22 March 2020, 10:07   #1
Toki
Registered User

Toki's Avatar
 
Join Date: Feb 2016
Location: Birmingham
Age: 56
Posts: 47
Question Aztec version 5 installation: Linking problem

I've installed Aztec to my hard drive on Winuae and inputting the basic Hello World program but it is failing when it comes to linking. Error message concerns the c.lib file not being found.

I've followed the installation instructions in the manual religiously: adding the correct script to the startup file, but still no joy.

I've even copied c.lib to RAM, but it still cannot find it.

Has anyone any ideas? Thanks. Hope you are all well and safe.
Toki is offline  
Old 23 March 2020, 14:14   #2
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,598
Quote:
Originally Posted by Toki View Post
Error message concerns the c.lib file not being found.
Probably a missing assignment for the library search path?

I don't know about Aztec-C V5, but I used V3.4 from hard disk 32 years ago on my A1000. What's was the exact command line for compiling and linking?
phx is offline  
Old 23 March 2020, 23:03   #3
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,621
Aztec has its own custom "Set" instruction in the bin directory, which you have to use, because the AmigaOS Set command won't work. As example (stolen from Gamma0511 at A1k.org):

DH0:Aztec/bin/set "CLIB=...path to... c.lib..."
PeterK is offline  
Old 24 March 2020, 00:59   #4
Toki
Registered User

Toki's Avatar
 
Join Date: Feb 2016
Location: Birmingham
Age: 56
Posts: 47
I've added to s/startup-sequence on the hard disk

path "Dh1:Aztec/Bin"
set CCTEMP=ram:
set "CLIB=DH1:Aztec/Lib"
set "INCLUDE=DH1:Aztec/Include"
echo "Welcome to Aztec C version 5.0a*

I've added these lines by using ED in the Shell.

??

Thanks
Toki is offline  
Old 25 March 2020, 00:15   #5
DrCinicus
Registered User

 
Join Date: Oct 2008
Location: Assemini/Italy
Age: 47
Posts: 22
Quote:
Originally Posted by Toki View Post
I've added to s/startup-sequence on the hard disk

path "Dh1:Aztec/Bin"
set CCTEMP=ram:
set "CLIB=DH1:Aztec/Lib"
set "INCLUDE=DH1:Aztec/Include"
echo "Welcome to Aztec C version 5.0a*

I've added these lines by using ED in the Shell.

??

Thanks

As wrote by PeterK, you should replace every set command with Dh1:Aztec/Bin/set; otherwise the AmigaDos set will be executed, especially if your system is 2.0+ where the set command is resident in ROM.
DrCinicus is offline  
Old 25 March 2020, 00:18   #6
Toki
Registered User

Toki's Avatar
 
Join Date: Feb 2016
Location: Birmingham
Age: 56
Posts: 47
Thanks, I'll try that right now!
Toki is offline  
Old 25 March 2020, 00:30   #7
Toki
Registered User

Toki's Avatar
 
Join Date: Feb 2016
Location: Birmingham
Age: 56
Posts: 47
Perfect, perfect, perfect. I can't tell you what a relief that is. Thanks very much for your help. I've tried so many different solutions.
Do you think I'll come across any other problems like this using WB3.1 to run Aztec 5.0a?
Toki is offline  
Old 25 March 2020, 23:59   #8
DrCinicus
Registered User

 
Join Date: Oct 2008
Location: Assemini/Italy
Age: 47
Posts: 22
Quote:
Originally Posted by Toki View Post
Perfect, perfect, perfect. I can't tell you what a relief that is. Thanks very much for your help. I've tried so many different solutions.
Do you think I'll come across any other problems like this using WB3.1 to run Aztec 5.0a?

I don't know... never used the Aztec C. This problem was due to an unhappy choose of the command name; try to use it and report any problem you'll encounter someone will try to help you.
DrCinicus 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
Problem with CacheCDFS installation RiP support.Apps 6 30 November 2018 23:27
Linking problem arti Coders. C/C++ 2 23 January 2015 20:03
HELP need correct modchip installation diagram for scph-1000 motherboard version PU-7 360owns Retrogaming General Discussion 7 26 February 2013 23:57
Large HD installation problem Kris project.ClassicWB 14 15 March 2010 14:42
Syndicate Installation Problem... THX1138 support.Games 5 07 March 2007 13:17

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 11:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.08027 seconds with 15 queries