Multiplatform makefile for gcc (Developers)
> Could someone give me an idea how to detect OS from makefile?
I don't know how GCC handles this, but the FPC (g)makefiles query the compiler, which can print host and target OS and CPU.
This also means that the makefile can autoconfigure crosscompiling.
Complete thread:
- Multiplatform makefile for gcc - RayeR, 26.03.2010, 01:14 (Developers)
- Multiplatform makefile for gcc - Rugxulo, 26.03.2010, 03:56
- Multiplatform makefile for gcc - marcov, 26.03.2010, 14:20
- Multiplatform makefile for gcc - Rugxulo, 26.03.2010, 19:35
- Multiplatform makefile for gcc - RayeR, 29.03.2010, 01:23
- Multiplatform makefile for gcc - Rugxulo, 26.03.2010, 19:35