|
|
|
|
|
|
|
|
"ar rcs stuff.a foo.o bar.o", |
|
|
"ar rcs stuff.a foo.o bar.o", |
|
|
"g++ -fPIC foo.o bar.a -pthread -omeow.exe"); |
|
|
"g++ -fPIC foo.o bar.a -pthread -omeow.exe"); |
|
|
|
|
|
|
|
|
|
|
|
check_tc_compile("{compiler_id: 'gnu', link_flags: '-mthumb'}", |
|
|
|
|
|
"g++ -fPIC -pthread -MD -MF foo.o.d -MQ foo.o -c foo.cpp -ofoo.o", |
|
|
|
|
|
"g++ -fPIC -pthread -Wall -Wextra -Wpedantic -Wconversion " |
|
|
|
|
|
"-MD -MF foo.o.d -MQ foo.o -c foo.cpp -ofoo.o", |
|
|
|
|
|
"ar rcs stuff.a foo.o bar.o", |
|
|
|
|
|
"g++ -fPIC foo.o bar.a -pthread -omeow.exe -mthumb"); |
|
|
|
|
|
|
|
|
|
|
|
check_tc_compile( |
|
|
|
|
|
"{compiler_id: 'gnu', link_flags: '-mthumb', advanced: {link_executable: 'g++ [in] " |
|
|
|
|
|
"-o[out]'}}", |
|
|
|
|
|
"g++ -fPIC -pthread -MD -MF foo.o.d -MQ foo.o -c foo.cpp -ofoo.o", |
|
|
|
|
|
"g++ -fPIC -pthread -Wall -Wextra -Wpedantic -Wconversion " |
|
|
|
|
|
"-MD -MF foo.o.d -MQ foo.o -c foo.cpp -ofoo.o", |
|
|
|
|
|
"ar rcs stuff.a foo.o bar.o", |
|
|
|
|
|
"g++ foo.o bar.a -omeow.exe -mthumb"); |
|
|
|
|
|
|
|
|
check_tc_compile("{compiler_id: 'msvc'}", |
|
|
check_tc_compile("{compiler_id: 'msvc'}", |
|
|
"cl.exe /MT /EHsc /nologo /permissive- /showIncludes /c foo.cpp /Fofoo.o", |
|
|
"cl.exe /MT /EHsc /nologo /permissive- /showIncludes /c foo.cpp /Fofoo.o", |
|
|
"cl.exe /MT /EHsc /nologo /permissive- /W4 /showIncludes /c foo.cpp /Fofoo.o", |
|
|
"cl.exe /MT /EHsc /nologo /permissive- /W4 /showIncludes /c foo.cpp /Fofoo.o", |