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
22049 Postings in 2034 Threads, 396 registered users, 241 users online (1 registered, 240 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum