On Jan 27, 2007, at 1:51 PM, Frank Barknecht wrote:
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
vbap is already compiled on Windows using externals/Makefile, so you don't need to rewrite or change anything. If you need to change CFLAGS, then you can do that like this:
cd pure-data/externals make CFLAGS="-whatever -something else" vbap
Note that I was trying to build a *Windows* binary on *Linux*, as I don't have Windows.
I had already tried:
$ cd pure-data/externals $ CC=i586-mingw32msvc-cc make vbap
but this tries to build the linux version with the cross-compiler for Windows, which of course isn't what I want. Explicitely specifying what to build doesn't seem to work either:
$ CC=i586-mingw32msvc-cc make vbap/rvbap.dll make: *** No rule to make target `vbap/rvbap.dll'. Stop.
Is there a way to set the target/host system with some CFLAGS using the extended-Makefile?
All of the platform-specific settings are determined by the varible $ (OS_NAME). Normally it is set in packages/Makefile.buildlayout using the result of uname. I think this should work then:
make CC=i586-mingw32msvc-cc OS_NAME=windows vbap
But you'd be the first to try, so there might be bugs.
.hc
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin