libftdi Archives

Subject: Re:

From: Tarek Heiland <tarek@xxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 08 Jun 2009 10:03:08 +1000
Uwe,

Exscuse my ignorance, but isn't it usual to do this just by specifying  
[C|CXX]FLAGS before your configure instruction to do this without the
need to modify/provide alternative cmake.

Cross compiling also works no problems eg  mipsel for example without
any need to modify anything.

BTW libftdi compiles and works fine in 64bit on my machine, so I assume
you are doing something non-standard

Tarek





Uwe Bonnes wrote:
> From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Subject: CMake Toolfile to build 32-bit on 64 bit SUSE system. May work on 
> other similar systems
> X-Mailer: VM 7.19 under Emacs 21.3.1
> FCC: ~/Mail/outbox
> --text follows this line--
>
> ---
>  Toolchain-SUSE32.cmake |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>  create mode 100644 Toolchain-SUSE32.cmake
>
> diff --git a/Toolchain-SUSE32.cmake b/Toolchain-SUSE32.cmake
> new file mode 100644
> index 0000000..3c80dd8
> --- /dev/null
> +++ b/Toolchain-SUSE32.cmake
> @@ -0,0 +1,4 @@
> +set(CMAKE_SYSTEM_NAME Linux)
> +set(CMAKE_C_COMPILER gcc -m32)
> +set(CMAKE_CXX_COMPILER g++ -m32)
> +set(CMAKE_FIND_ROOT_PATH /usr/lib)
>   


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread