large files in 32 bits?

How I can call routines for write large files' text if I've a libraries that can't be compiled in 64 bits? I tried whit open O_LARGEFILE option but if I see the rows whith cat are strange because I only see the first one.

You can't. You need 64 bit mode for large files. Remember that there is a pointer to the next byte to be read. If this is a 32 bit entity, it just won't work. You gotta fix or replace that library. Or live with small files.