1CROSSREPORT(1) CrossReport CROSSREPORT(1)
2
3
4
6 CrossReport - Analysis tool to help cross-compilation to Windows.
7
9 mingw32-crossreport [options] /path/to/linuxbinary
10
12 CrossReport is a tool to help you analyze the APIs used by a compiled
13 Linux program, in order to work out the effort required to cross-
14 compile that program for Windows, using the Fedora MinGW cross-
15 compiler.
16
17 The simplest way to use it is to point it at an existing Linux binary,
18 and then read the generated report.
19
20 What it does in more detail: It looks at the libraries and API calls
21 used by the Linux binary, and compares them to the libraries and API
22 calls that we currently support under the Fedora MinGW cross-compiler.
23 It then works out what is missing, and produces a report suggesting the
24 amount of work that needs to be done to port the program. For example,
25 whether whole libraries need to be ported first, and/or how to
26 substitute individual calls to work on Windows.
27
29 Assuming that the excellent vector graphics editor Inkscape
30 (<http://www.inkscape.org/>) is installed, you could do:
31
32 mingw32-crossreport /usr/bin/inkscape > inkscape-report.txt
33 less inkscape-report.txt
34
36 The report is only a general guide. CrossReport contains a lot of
37 knowledge about common Linux calls and APIs, but does not know about
38 every possible library.
39
41 The program relies on a database of MinGW APIs. The default location
42 for this database is "/usr/share/crossreport/crossreport.db" or the
43 same file in the current working directory. If the database cannot be
44 found in either location, the program will fail with an error message.
45
46 The database is updated regularly and distributed with CrossReport. To
47 get the best quality report, make sure you are running a recent version
48 of the program.
49
51 Copyright (C) 2009 Red Hat Inc. Written by Richard W.M. Jones
52 <rjones@redhat.com>.
53
54 This program is free software; you can redistribute it and/or modify it
55 under the terms of the GNU General Public License as published by the
56 Free Software Foundation; either version 2 of the License, or (at your
57 option) any later version.
58
59 This program is distributed in the hope that it will be useful, but
60 WITHOUT ANY WARRANTY; without even the implied warranty of
61 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
62 General Public License for more details.
63
64 You should have received a copy of the GNU General Public License along
65 with this program; if not, write to the Free Software Foundation, Inc.,
66 675 Mass Ave, Cambridge, MA 02139, USA.
67
68
69
70mingw-crossreport-201406 2023-07-20 CROSSREPORT(1)