Re: Multilib sources and variables

2008-11-30 Thread Jan Engelhardt
On Sunday 2008-11-30 18:07, NightStrike wrote: >>> Is the following kosher? >>> >>>It will produce two 32-bit libraries on all architectures where >>>gcc defaults to a 32-bit output. >> >> (In other words, you are missing -m64. And perhaps some logic >> so that lib64 is not built in pure 32-bi

Re: Multilib sources and variables

2008-11-30 Thread Ralf Wildenhues
* NightStrike wrote on Sun, Nov 30, 2008 at 06:08:39PM CET: > On Sun, Nov 30, 2008 at 2:32 AM, Ralf Wildenhues wrote: > > > > Typically, -m32 either goes right on to the compiler, or it goes in both > > CPPFLAGS and LDFLAGS. Since you don't link here, that looks ok. > > So if I put something in C

Re: Multilib sources and variables

2008-11-30 Thread NightStrike
On Sun, Nov 30, 2008 at 2:32 AM, Ralf Wildenhues wrote: > * NightStrike wrote on Sun, Nov 30, 2008 at 01:52:23AM CET: >> Is the following kosher? > > Yes, except that you need to use $(shell32src) instead of $shell32src in > both places. Noted, thanks! >> shell32src=libsrc/shell32.c >> >> lib32_L

Re: Multilib sources and variables

2008-11-30 Thread NightStrike
On Sun, Nov 30, 2008 at 7:10 AM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Sunday 2008-11-30 02:24, Jan Engelhardt wrote: >>On Sunday 2008-11-30 01:52, NightStrike wrote: >> >>>Is the following kosher? >> >>It will produce two 32-bit libraries on all architectures where >>gcc defaults to a 3

Re: Multilib sources and variables

2008-11-30 Thread Jan Engelhardt
On Sunday 2008-11-30 02:24, Jan Engelhardt wrote: >On Sunday 2008-11-30 01:52, NightStrike wrote: > >>Is the following kosher? > >It will produce two 32-bit libraries on all architectures where >gcc defaults to a 32-bit output. (In other words, you are missing -m64. And perhaps some logic so that

Re: Multilib sources and variables

2008-11-29 Thread Ralf Wildenhues
* NightStrike wrote on Sun, Nov 30, 2008 at 01:52:23AM CET: > Is the following kosher? Yes, except that you need to use $(shell32src) instead of $shell32src in both places. > shell32src=libsrc/shell32.c > > lib32_LIBRARIES += lib32/libshell32.a > lib32_libshell32_a_SOURCES = $shell32src > lib32_

Re: Multilib sources and variables

2008-11-29 Thread Jan Engelhardt
On Sunday 2008-11-30 01:52, NightStrike wrote: >Is the following kosher? It will produce two 32-bit libraries on all architectures where gcc defaults to a 32-bit output. >shell32src=libsrc/shell32.c > >lib32_LIBRARIES += lib32/libshell32.a >lib32_libshell32_a_SOURCES = $shell32src >lib32_libshe

Multilib sources and variables

2008-11-29 Thread NightStrike
Is the following kosher? shell32src=libsrc/shell32.c lib32_LIBRARIES += lib32/libshell32.a lib32_libshell32_a_SOURCES = $shell32src lib32_libshell32_a_CPPFLAGS = -m32 lib64_LIBRARIES += lib64/libshell32.a lib64_libshell32_a_SOURCES = $shell32src Basically, all the sources are the same, so I do