On 9/2/2010 01:35, Charles Wilson wrote:
On 9/1/2010 11:44 AM, JonY wrote:
On 9/1/2010 23:15, Charles Wilson wrote:
On 8/31/2010 11:20 PM, JonY wrote:
On 9/1/2010 10:28, Charles Wilson wrote:
On 8/31/2010 8:52 PM, JonY wrote:
Strange, I'll try a rebuild. The former should be the correct
location.
Errr...no. The *latter* is the correct location (at least, that's where
the sysroot'ed compiler will look for them).
the (buggy) cygport(1) puts them in
usr/x86_64-w64-mingw32/sys-root/mingw/x86_64-w64-mingw32/include/
but we really want them to be in
usr/x86_64-w64-mingw32/sys-root/mingw/include/
which is what your cygport(5) does -- when you actually use it to
rebuild.
Right, the latter is correct. I'm misreading it.
Given the results of the thread re: Possible cygport bug with cross
compiles (e.g. there is no bug), it looks like:
1) rebuild the -header package so that the includes end up in the
"correct" location. The current cygport(5) for that package is fine
(e.g. (a) the extra rule in src_install is needed, and proper, and (b)
it does the right thing)
I am getting a permission denied error that I wasn't aware of before. I
have fixed the mv command, and tested with "cygport compile install
list", cyport list does show the correct locations. Tarball reuploaded.
2) fix the setup.hints
Does setup.hint itself (for mingw64-x86_64-gcc-core) need an
external-source link to mingw64-x86_64-gcc?
Well, you'd actually need two setup.hints:
mingw64-x86_64-gcc/
mingw64-x86_64-gcc-4.5.1-1-src.tar.bz2
(1) setup.hint
mingw64-x86_64-gcc-core/
mingw64-x86_64-gcc-core-4.5.1-1.tar.bz2
(2) setup.hint
mingw64-x86_64-gcc-fortran/
mingw64-x86_64-gcc-fortran-4.5.1-1.tar.bz2
setup.hint
mingw64-x86_64-gcc-g++/
mingw64-x86_64-gcc-g++-4.5.1-1.tar.bz2
setup.hint
mingw64-x86_64-gcc-ada/
mingw64-x86_64-gcc-ada-4.5.1-1.tar.bz2
setup.hint
The one marked (1) would not need any requires: or external-source:
marking. The one marked (2) would only need an external-source:
marking. The others would all need both an external-source AND a
requires: mingw64-x86_64-gcc-core marking.
I think this also means you need to modify your cygport(5) from
PKG_NAMES="${PN}-core ${PN}-ada ${PN}-g++ ${PN}-fortran ${PN}-objc"
PKG_HINTS="setup ada g++ gfortran objc"
to
PKG_NAMES="${PN} ${PN}-core ${PN}-ada ${PN}-g++ ${PN}-fortran ${PN}-objc"
PKG_HINTS="setup core ada g++ gfortran objc"
where the new core.hint file has the contents of the existing setup.hint
file (as updated above), and the new setup.hint file just says
category: Devel
sdesc: "GCC for MinGW-w64 Win64 toolchain (source)"
I *think* this means that you'll then get an EMPTY
mingw64-x86_64-gcc-4.5.1-1.tar.bz2
package, but you won't want to include that in the upload set.
--
Chuck
Hi,
sorry for the week long delay, the files have been sitting there for
quite some time (some were corrupt uploads, but I fixed them).
I kind of forgot about this thread.
mingw64-x86_64-headers
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-headers/mingw64-x86_64-headers-svn3433-1.tar.bz2/download
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-headers/mingw64-x86_64-headers-svn3433-1-src.tar.bz2/download
category: Devel
requires:
sdesc: "Mingw-w64 headers for Win64 target."
ldesc: "Mingw-w64 headers for Win64 target development.
This package is for the mingw-w64 toolchain that targets 64bit.
mingw64-x86_64-runtime
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-runtime/mingw64-x86_64-runtime-20100809-1.tar.bz2/download
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-runtime/mingw64-x86_64-runtime-20100809-1-src.tar.bz2/download
category: Devel
requires: mingw64-x86_64-headers
sdesc: "CRT libraries for Win64 target."
ldesc: "Mingw-w64 CRT libraries for Win64 target development."
mingw64-x86_64-binutils
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-binutils/mingw64-x86_64-binutils-2.20.51-1-src.tar.bz2/download
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-binutils/mingw64-x86_64-binutils-2.20.51-1.tar.bz2/download
category: Devel
requires: libgcc1 libintl8 zlib0
sdesc: "Binutils for MinGW-w64 Win64 toolchain"
ldesc: "Mingw-w64 Cross binutils for Win64 target."
mingw64-x86_64-pthreads
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-pthreads/mingw64-x86_64-pthreads-20100619-1-src.tar.bz2/download
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-pthreads/mingw64-x86_64-pthreads-20100619-1.tar.bz2/download
category: Devel
requires: mingw64-x86_64-runtime
sdesc: "libpthread for MinGW-w64 Win64 toolchain"
mingw64-x86_64-gcc
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-gcc/mingw64-x86_64-gcc-4.5.1-1-src.tar.bz2/download
category: Devel
sdesc: "GCC for MinGW-w64 Win64 toolchain"
mingw64-x86_64-gcc-objc
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-gcc/mingw64-x86_64-gcc-objc/mingw64-x86_64-gcc-objc-4.5.1-1.tar.bz2/download
category: Devel
requires: mingw64-x86_64-gcc-core
external-source: mingw64-x86_64-gcc
sdesc: "GCC objc and objc++ for MinGW-w64 Win64 toolchain"
mingw64-x86_64-gcc-ada
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-gcc/mingw64-x86_64-gcc-ada/mingw64-x86_64-gcc-ada-4.5.1-1.tar.bz2/download
category: Devel
requires: mingw64-x86_64-gcc-core
external-source: mingw64-x86_64-gcc
sdesc: "GCC ada for MinGW-w64 Win64 toolchain"
mingw64-x86_64-gcc-g++
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g%2B%2B/mingw64-x86_64-gcc-g%2B%2B-4.5.1-1.tar.bz2/download
category: Devel
requires: mingw64-x86_64-gcc-core
external-source: mingw64-x86_64-gcc
sdesc: "GCC g++ for MinGW-w64 Win64 toolchain"
mingw64-x86_64-gcc-core
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-gcc/mingw64-x86_64-gcc-core/mingw64-x86_64-gcc-core-4.5.1-1.tar.bz2/download
category: Devel
requires: libcloog0 libgcc1 libgmp3 libiconv2 libintl8 libmpc1 libmpfr1
libppl mingw64-x86_64-binutils mingw64-x86_64-pthreads
mingw64-x86_64-runtime
external-source: mingw64-x86_64-gcc
sdesc: "GCC for MinGW-w64 Win64 toolchain"
mingw64-x86_64-gcc-fortran
https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/mingw64-x86_64-gcc/mingw64-x86_64-gcc-fortran/mingw64-x86_64-gcc-fortran-4.5.1-1.tar.bz2/download
requires: mingw64-x86_64-gcc-core
external-source: mingw64-x86_64-gcc
sdesc: "GCC gfortran for MinGW-w64 Win64 toolchain"