Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | @echo off |
2 | |||
3 | echo Setting up the toolchain... |
||
4 | set THISDIR=%~dp0 |
||
5 | cd /d %~dp0\..\..\qnx800 |
||
6 | call qnxsdp-env.bat || goto :eof |
||
7 | cd /d "%THISDIR%" |
||
8 | |||
9 | echo Cleaning up... |
||
10 | del /f /q *.o *.a > nul 2>&1 |
||
11 | |||
12 | echo [%path%] |
||
13 | |||
14 | echo Building libpthread.a... |
||
15 | x86_64-pc-nto-qnx8.0.0-gcc-12.2.0 -isystem %QNX_TARGET%/usr/include/devs/include_x86_64 -isystem %QNX_TARGET%/usr/include/devs -c pthread-stub.c -o pthread-stub.x86_64.o && ^ |
||
16 | x86_64-pc-nto-qnx8.0.0-ar-2.41.0 rcs libpthread.x86_64.a pthread-stub.x86_64.o && ^ |
||
17 | aarch64-unknown-nto-qnx8.0.0-gcc-12.2.0 -isystem %QNX_TARGET%/usr/include/devs/include_x86_64 -isystem %QNX_TARGET%/usr/include/devs -c pthread-stub.c -o pthread-stub.aarch64.o && ^ |
||
18 | aarch64-unknown-nto-qnx8.0.0-ar-2.41.0 rcs libpthread.aarch64.a pthread-stub.aarch64.o && ^ |
||
19 | echo Done |
||
20 | |||
21 | :eof |
||
22 | pause |