English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 31 August 2016, 17:25   #21
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Indeed. I can confirm the problem. Will notify Volker about the bug. Don't know when he will have the time for fixing, though.
phx is offline  
Old 01 September 2016, 11:31   #22
dalton
tulou
 
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 88
Thanks!

Vasm dependency generation seems to work like a charm.
dalton is offline  
Old 02 September 2016, 17:23   #23
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Try this patch, it seemed to work for me:
Code:
--- ucpp/cpp.c  3 Mar 2016 14:17:19 -0000       1.16
+++ ucpp/cpp.c  1 Sep 2016 20:49:18 -0000       1.17
@@ -1186,7 +1186,7 @@
        if (!strcmp("time.h",fname)) misra(127,20,12,-1);
 #endif
        set_current_filename(fname);
-       handle_deps(fname,string_fname);
+       handle_deps(current_long_filename,string_fname);
        enter_file(ls, flags);
        return 0;
phx is offline  
Old 05 September 2016, 12:28   #24
dalton
tulou
 
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 88
I\m glad there's a patch, but unfortunately I don't have an environment where I can compile vbcc.

For my own sake I've since long been using a Python script that recursively resolves all include statements in a c-file to generate a dependency file. It's not perfect but it does the job for me until vbcc is updated.
dalton is offline  
Old 05 September 2016, 22:47   #25
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by dalton View Post
I\m glad there's a patch, but unfortunately I don't have an environment where I can compile vbcc.
Write me an email and tell me which vbcc-targets you need for which host platform. As long as it is something like AmigaOS, MorphOS or NetBSD I can compile it for you.

For Windows or OSX you may try to ask Leffmann.
phx is offline  
Old 06 September 2016, 18:05   #26
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Quote:
Originally Posted by dalton View Post
I\m glad there's a patch, but unfortunately I don't have an environment where I can compile vbcc.
I'm guessing you're using Windows. You can build the tools using the attached Visual Studio solution. It may require the Community 2015 edition (it's free), and you need to build the Release target for the x86 platform.

You can also build on the command line like this:
msbuild vbcc.sln /m /p:Configuration=Release;Platform=x86


Extract the sources to src/vbcc etc. and patch before building:
http://eab.abime.net/showpost.php?p=1073144&postcount=2

The binaries should run on Windows XP and anything later.
Attached Files
File Type: zip vbcc_vs2015.zip (23.9 KB, 86 views)
Leffmann 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
vasm question marduk_kurios Coders. Asm / Hardware 7 14 February 2014 20:06
vasm fsincos dalton Coders. Asm / Hardware 4 03 September 2012 10:35
Windows dependency resle support.WinUAE 3 31 January 2012 21:50
rexxsyslib dependency bug in WinUAE? KillaByte support.WinUAE 2 07 October 2009 11:29
REQ: Automatic resolution change ; automatic resolution detection Borg_Number_One request.UAE Wishlist 3 21 August 2004 14:16

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 15:33.

Top

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