[physfs] Download problem

Martin Schaffner schaffner at gmx.li
Sat Sep 23 17:45:59 EDT 2006


>> ./configure CFLAGS=-m32 && make
>>
>> it seem to not work, here the result :
>>
>> configure: warning: CFLAGS=-m32: invalid host type
>> loading cache ./config.cache
>> checking host system type... Invalid configuration `CFLAGS=-m32':  
>> machine
>> `CFLAGS=' not recognized checking target system type... Invalid
>> configuration `CFLAGS=-m32': machine `CFLAGS=' not recognized  
>> checking
>> build system type... Invalid configuration `CFLAGS=-m32': machine  
>> `CFLAGS='
>> not recognized
> It seems as if the configure is not the right place for it in this  
> app.
>
> Try
> make CFLAGS=-m32
> then. If that does also not work try
> CFLAGS=-m32 make

environment variables need to be set /before/ the configure command,  
but /before or after/ the make command.
You should be able to do either of:
CFLAGS=-m32 ./configure && make
./configure && make CFLAGS=-m32

The first is preferable as you don't need to add the CFLAGS for every  
make invocation.




More information about the physfs mailing list