Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Multiplatform makefile for gcc (Developers)

posted by marcov, 26.03.2010, 14:20

> 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:

Back to the forum
Board view  Mix view
22756 Postings in 2121 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum