[fpc-devel] TARGET_OS and TARGET_CPU does nothing
Michael Van Canneyt
michael at freepascal.org
Mon Nov 6 18:04:39 CET 2006
On Mon, 6 Nov 2006, Christian Ulrich wrote:
> Michael Van Canneyt schrieb:
> > On Mon, 6 Nov 2006, Christian Ulrich wrote:
> > > Are there new options or something else ?
> > > when i try to compiler the compiler or rtl or fcl with TARGET_OS and
> > > TARGET_CPU
> > > it generates always code for i386-win32 in actual svn
> > >
> > How do you specify these options ? They're only meaningful in the Makefile.
> > The compiler itself does not use these variables AFAIK.
> make cycle CPU_TARGET=x86_64 OS_TARGET=win64
> make cycle CPU_TARGET=arm OS_TARGET=wince
> both builds i386-win32 for me.
You can't cycle a cross-compiler.
make CPU_TARGET=x86_64 OS_TARGET=win64
make CPU_TARGET=arm OS_TARGET=wince
More information about the fpc-devel