|
From: Dallman, J. <jg...@ug...> - 2006-01-24 17:24:37
|
KevinGPO wrote:=20 > Is it possible to compile ValGrind under Windows and use it=20 > to debug Visual C++ 6.0 exes?=20 To quote from the "Supported platforms" page of www.valgrind.org: In particular Windows is not under consideration here because=20 porting to it would require so many changes it would almost be=20 a separate project. Also, non-open-source OSes are difficult=20 to deal with; being able to see the OS and associated (libc)=20 source code makes things much easier. Having ported stuff that isn't nearly so intimate with the processor=20 between Windows and UNIX/linux, they aren't kidding. You end up with=20 entire source files that are completely different. While the job isn't=20 impossible in principle, it would be Really Hard.=20 --=20 John Dallman, Parasolid Porting Engineer, +44-1223-371554=20 |
|
From: Julian S. <js...@ac...> - 2006-01-24 17:57:45
|
> Having ported stuff that isn't nearly so intimate with the processor > between Windows and UNIX/linux, they aren't kidding. You end up with > entire source files that are completely different. While the job isn't > impossible in principle, it would be Really Hard. A research-grade problem, imo. It is not unknown for people to port apps to Linux just so they can use Valgrind on them. That's another possibility. J |
|
From: Dennis L. <pla...@in...> - 2006-01-24 18:02:43
|
At 18:57 24.01.2006, Julian Seward wrote: >A research-grade problem, imo. > >It is not unknown for people to port apps to Linux just so they >can use Valgrind on them. That's another possibility. Porting VC++ 6.0 code to linux could be a bigger problem though, since it is known to horribly fail to comply to the iso c++ standard, as an example it does not following scoping rules for for-loops and has differente template syntax. greets Dennis Carpe quod tibi datum est |
|
From: KevinGPO <kev...@ho...> - 2006-01-25 09:16:32
|
That's why I should upgrade to use MS Toolkit 2003 right? Anyway, my program is like... millions of lines long and is massive. It usually takes 30 minutes to compile. "Dennis Lubert" <pla...@in...> wrote in message news:7.0...@pl...... > At 18:57 24.01.2006, Julian Seward wrote: > >>A research-grade problem, imo. >> >>It is not unknown for people to port apps to Linux just so they >>can use Valgrind on them. That's another possibility. > > Porting VC++ 6.0 code to linux could be a bigger problem though, since it > is known to horribly fail to comply to the iso c++ standard, as an example > it does not following scoping rules for for-loops and has differente > template syntax. > > greets > > Dennis > > > Carpe quod tibi datum est > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 |
|
From: Christian P. <tr...@ge...> - 2006-01-25 12:59:04
|
On Wednesday 25 January 2006 10:17, KevinGPO wrote: > That's why I should upgrade to use MS Toolkit 2003 right? > > Anyway, my program is like... millions of lines long and is massive. It > usually takes 30 minutes to compile. 30 minutes to compile are certainly not "millions of lines" in fact, MSVC i= s=20 slow and not that fast. we're having here code with around 35,000 lines that takes (statically link= ed)=20 on MSVC (VS.NET 2005) about 20+ minutes to compile, mostly because it's=20 making heavy use of templates though. Regards, Christian Parpart. |
|
From: Christian P. <tr...@ge...> - 2006-01-25 12:59:38
|
On Tuesday 24 January 2006 19:05, Dennis Lubert wrote: > >It is not unknown for people to port apps to Linux just so they > >can use Valgrind on them. =A0That's another possibility. > > Porting VC++ 6.0 code to linux could be a bigger problem though, > since it is known to horribly fail to comply to the iso c++ standard, > as an example it does not following scoping rules for for-loops and > has differente template syntax. best time to revalidate the sources and make it compliant though ;-) |
|
From: Dennis L. <pla...@in...> - 2006-01-25 17:59:45
|
At 13:59 25.01.2006, Christian Parpart wrote: > > Porting VC++ 6.0 code to linux could be a bigger problem though, > > since it is known to horribly fail to comply to the iso c++ standard, > > as an example it does not following scoping rules for for-loops and > > has differente template syntax. > >best time to revalidate the sources and make it compliant though ;-) But then it doest work with VC++6.0 any more *evil laugther* greets Dennis Carpe quod tibi datum est |
|
From: Jorrit T. <jor...@gm...> - 2006-01-25 18:10:02
|
On 1/25/06, Dennis Lubert <pla...@in...> wrote: > At 13:59 25.01.2006, Christian Parpart wrote: > > > Porting VC++ 6.0 code to linux could be a bigger problem though, > > > since it is known to horribly fail to comply to the iso c++ standard, > > > as an example it does not following scoping rules for for-loops and > > > has differente template syntax. > > > >best time to revalidate the sources and make it compliant though ;-) > But then it doest work with VC++6.0 any more *evil laugther* Actually it is possible to make it work on VC++6.0 AND later. In some cases you have to do some tricks but in CS we have always been compatible with VC6 and higher. Of course now we're dropping VC6 support so we can remove a few of those hacks. Greetings, > > greets > > Dennis > > Carpe quod tibi datum est > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=3D649 |
|
From: KevinGPO <kev...@ho...> - 2006-01-26 13:40:25
|
Do you guys think that if I used wrapmsvc (some wrapper for msvc to use gcc, translating arguments from msvc to gnu type), will valgrind work? "Jorrit Tyberghein" <jor...@gm...> wrote in message news:d48...@ma...... On 1/25/06, Dennis Lubert <pla...@in...> wrote: > At 13:59 25.01.2006, Christian Parpart wrote: > > > Porting VC++ 6.0 code to linux could be a bigger problem though, > > > since it is known to horribly fail to comply to the iso c++ standard, > > > as an example it does not following scoping rules for for-loops and > > > has differente template syntax. > > > >best time to revalidate the sources and make it compliant though ;-) > But then it doest work with VC++6.0 any more *evil laugther* Actually it is possible to make it work on VC++6.0 AND later. In some cases you have to do some tricks but in CS we have always been compatible with VC6 and higher. Of course now we're dropping VC6 support so we can remove a few of those hacks. Greetings, > > greets > > Dennis > > Carpe quod tibi datum est > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=649 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 |