build cross gcc with taget, host and build all differnt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I'm trying to build a gcc on linux that runs on windows and builds binaries for freebsd. Basically I'm doing something like this:

--configure -target=i386-pc-freebsd -build=i686-pc-linux-gnu -host=i686-mingw32 ...

I omitted the other switches like -prefix, --with-sysroot and so on.

What I'm unsure about is if this scenario is supported in that way. I mean the build process runs on linux and uses an existing cross compiler to create a gcc that runs on windows. But in the process gcc has to create some libraries like libgcc or libstdc++. It cannot use itself for this because host and build systems are different. Is the gcc build so clever to automatically build another cross compiler that runs on linux and builds code for freebsd for that purpose or do I have to create it myself?

Thanks

Markus



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux