<br><br><div class="gmail_quote">On Mon, Mar 2, 2009 at 7:55 AM, Gerhard Grimm <span dir="ltr"><<a href="mailto:ggrimm@detec.de">ggrimm@detec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font color="#0000ff" face="Arial" size="2">Hi
Eric,</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">genrb
does not create libraries to link against, but binary resource files that will
be loaded by an application using ICU at runtime.</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">Here's
an example how we are using genrb in our project:</font></span></div>
</div></blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div><font><span><font color="#0000ff" face="Courier New" size="2">IcuResources(cp1252 root de)</font></span></font></div>
<div><font><span><font color="#0000ff" size="2"></font></span></font> </div>
<div><font><span><font color="#0000ff" size="2">This would
compile the source files <font face="Courier New">root.txt</font> (for the root
locale, usually English) and <font face="Courier New">de.txt</font> (for the
German locale). Both source files are assumed to be encoded in
cp1252.</font></span></font></div>
<div><font><span><font color="#0000ff" size="2">The output
files would be <font face="Courier New">root.res</font> and <font face="Courier New">de.res</font>.</font></span></font></div>
<div><font><span><font color="#0000ff" size="2">For more
information and examples, see the file "ResourceManagement.html" in the ICU User
Guide.</font></span></font></div>
<div><font><span><font color="#0000ff" size="2"></font></span></font> </div>
<div><font><span><font color="#0000ff" size="2">Best
regards,</font></span></font></div>
<div><font><span><font color="#0000ff" size="2"></font></span></font> </div>
<div><font><span><font color="#0000ff" size="2">Gerhard</font></span></font></div></div></blockquote><div><br>Thank you for the response. So I got a little bit more clarification about what's going on in the build system I'm trying to deal with. It seems that after they use genrb to generate the .res files, they use the pkgdata tool that also comes with ICU to create static libraries, which is the origin of my questions/concerns.<br>
<br>So since you say .res files can be loaded at runtime, this might be the way to go if I can convince them to do this. Can you tell me, is a .res file the same on each platform? Or am I still going to get in trouble with 32-bit vs 64-bit and/or big endian vs. little endian (particularly on Mac)?<br>
<br>Thanks,<br>Eric<br><br><br></div></div><br>