[3/5] docs: Mention that libraries for MSVC can be built with a cross compiler

Message ID 1310113274-11262-3-git-send-email-martin@martin.st
State Superseded
Headers show

Commit Message

Martin Storsjö July 8, 2011, 8:21 a.m.
---
 doc/general.texi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Diego Biurrun July 8, 2011, 10:06 a.m. | #1
On Fri, Jul 08, 2011 at 11:21:12AM +0300, Martin Storsjö wrote:
> 
> --- a/doc/general.texi
> +++ b/doc/general.texi
> @@ -934,6 +934,9 @@ make install
>  Your install path (@file{/usr/local/} by default) should now have the
>  necessary DLL and LIB files under the @file{bin} directory.
>  
> +Alternatively, build the libraries with a cross compiler, according to
> +the instructions below in "Cross compilation for Windows with Linux".
> +
>  To use those files with MSVC++, do the same as you would do with
>  the static libraries, as described above. But in Step 4,
>  you should only need to add the directory where the LIB files are installed

This should be a link to the section/subsection.

Diego
Martin Storsjö July 8, 2011, 10:35 a.m. | #2
On Fri, 8 Jul 2011, Diego Biurrun wrote:

> On Fri, Jul 08, 2011 at 11:21:12AM +0300, Martin Storsjö wrote:
> > 
> > --- a/doc/general.texi
> > +++ b/doc/general.texi
> > @@ -934,6 +934,9 @@ make install
> >  Your install path (@file{/usr/local/} by default) should now have the
> >  necessary DLL and LIB files under the @file{bin} directory.
> >  
> > +Alternatively, build the libraries with a cross compiler, according to
> > +the instructions below in "Cross compilation for Windows with Linux".
> > +
> >  To use those files with MSVC++, do the same as you would do with
> >  the static libraries, as described above. But in Step 4,
> >  you should only need to add the directory where the LIB files are installed
> 
> This should be a link to the section/subsection.

Yes, I wanted to do that, but a quick 3 second browse of the rest of the 
file didn't reveal any examples on how to do that, so I settled for this 
form for now. :-)

How do I do a proper cross-reference in texinfo?

// Martin
Diego Biurrun July 8, 2011, 12:43 p.m. | #3
On Fri, Jul 08, 2011 at 01:35:18PM +0300, Martin Storsjö wrote:
> On Fri, 8 Jul 2011, Diego Biurrun wrote:
> 
> > On Fri, Jul 08, 2011 at 11:21:12AM +0300, Martin Storsjö wrote:
> > > 
> > > --- a/doc/general.texi
> > > +++ b/doc/general.texi
> > > @@ -934,6 +934,9 @@ make install
> > >  Your install path (@file{/usr/local/} by default) should now have the
> > >  necessary DLL and LIB files under the @file{bin} directory.
> > >  
> > > +Alternatively, build the libraries with a cross compiler, according to
> > > +the instructions below in "Cross compilation for Windows with Linux".
> > > +
> > >  To use those files with MSVC++, do the same as you would do with
> > >  the static libraries, as described above. But in Step 4,
> > >  you should only need to add the directory where the LIB files are installed
> > 
> > This should be a link to the section/subsection.
> 
> Yes, I wanted to do that, but a quick 3 second browse of the rest of the 
> file didn't reveal any examples on how to do that, so I settled for this 
> form for now. :-)
> 
> How do I do a proper cross-reference in texinfo?

@ref in this case, there are also @xref and @pxref.

Doublecheck to make sure it looks and works right.

Diego

Patch

diff --git a/doc/general.texi b/doc/general.texi
index 95af68e..81fa014 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -934,6 +934,9 @@  make install
 Your install path (@file{/usr/local/} by default) should now have the
 necessary DLL and LIB files under the @file{bin} directory.
 
+Alternatively, build the libraries with a cross compiler, according to
+the instructions below in "Cross compilation for Windows with Linux".
+
 To use those files with MSVC++, do the same as you would do with
 the static libraries, as described above. But in Step 4,
 you should only need to add the directory where the LIB files are installed