[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling 2 files with different compilers based on --host and --build
From: |
vtorri |
Subject: |
compiling 2 files with different compilers based on --host and --build |
Date: |
Mon, 28 Jul 2008 20:54:01 +0200 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.2) |
Hey,
I have 2 files : foo.c and bar.c
when I cross compile, i want to compile foo.c with the host compiler and bar.c
with the current compiler
Is it possible if I pass values to --build and --host ?
for example:
./configure --build=i686-pc-linux-gnu --host=mingw
foo.c is compiled with mingw32-gcc (or whatever its name is)
bar.c is compiled with my usual gcc
thank you
Vincent Torri
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
- compiling 2 files with different compilers based on --host and --build,
vtorri <=