[LLVMdev] making cygwin nightly builds available?

Jeff Cohen jeffc at jolt-lang.org
Sat Jan 22 08:18:12 PST 2005


I am going to use ios_base::binary as a short term workaround.

Anton Korobeynikov wrote:

>Hello, Jeff.
>
>You wrote Saturday, January 22, 2005, 3:57:28 AM:
>
>JC> Reid, the binary/text mode is a valid issue.
>This set of flags worked for me:
>std::ios_base::out | std::ios_base::trunc | std::ios_base::binary
>Yes, there are open issues with std::ios_base::binary, but llvm are
>not affected with them now.
>
>JC> I have successfully used a bytecode file on Windows that was created
>JC> on Unix, but I must have been lucky.
>Yes, it is so, but if you try to write any file on Windows, or, even
>more, just try to read library file, you'll get an invalid result.
>(Library file will fail, because its header is defined as
>"<arch>\n",...).
>
>
>  
>




More information about the llvm-dev mailing list