tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cross-compiling packages
On 06.11.2020 06:29, Brook Milligan wrote:
This raises the question, why is ${OBJECT_FMT} equal to "a.out"; both the build and target machines use ELF.
To find this out, run the show-all target, which is defined in pkgsrc:
(cd cross/cross-libtool-base && bmake show-all | less)
If there is nothing suspicious in the output of the above command, go to
the next level and run make(1) with some debug flags enabled:
bmake show-all -dcpv 2>&1 | less
This logs about 200.000 lines of details about condition evaluation
(-dc), parsing (-dp) and variable assignments and evaluation (-dv). It
should give you an idea about what happens inside.
Roland
Home |
Main Index |
Thread Index |
Old Index