DePriest, Jason R. wrote:
I know you have no plans to support ddrescue on any platform other
than GNU/Linux platforms.

I haven't got the time to support ddrescue on other platforms, but I am happy to see it ported and supported.


I was able to get ddrescue compiled under Cygwin by making a couple of
adjustments.  I thought some of the other readers of this list might
find this information helpful.

I also think so. Thanks for sharing your findings with us.


Basically, you take most of the std::snprintf and std::llabs entries
and drop the 'std::' prefix.  I do not know why it works, but it does.

`snprintf' is not part of the C++ standard, but I really dont know why, given it is the perfect function for the job. Gcc/glibc include it as a extension, and I think all compilers should do the same.

`llabs' was added by ISO C99 and I suppose it is included in C++ as a extension, but not on all systems.


Best regards,
Antonio Diaz.


_______________________________________________
Bug-ddrescue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to