Sign in Join
Wiki copytemporary

Build server

Build server with automated build process is not useful just for big developers teams but also for single developer who working on multiple small applications. Build server can run daily or on-demand build for multiple projects and send notification emails if build was not successful. Build server can also help with cross-platform projects where developer would need to run build for all supported builds manually.

Setup on Ubuntu

Assume 64-bit Ubuntu server.

Install binutils for required targets:

bash
sudo apt-get install binutils-powerpc-linux-gnu
sudo apt-get install binutils-powerpc64le-linux-gnu
sudo apt-get install binutils-arm-linux-gnueabi

Create ld and as scripts needed for FPC:

bash
#!/bin/bash

cat >/usr/bin/i386-linux-ld << EOF
#!/bin/bash
ld -A elf32-i386 $@
EOF
chmod +x /usr/bin/i386-linux-ld

cat >/usr/bin/i386-linux-as << EOF
#!/bin/bash
as --32 $@
EOF
chmod +x /usr/bin/i386-linux-as

cat >/usr/bin/arm-linux-ld << EOF
#!/bin/bash
/usr/bin/arm-linux-gnueabi-ld $@
EOF
chmod +x /usr/bin/arm-linux-ld

cat >/usr/bin/arm-linux-as << EOF
#!/bin/bash
/usr/bin/arm-linux-gnueabi-as $@
EOF
chmod +x /usr/bin/arm-linux-as

cat >/usr/bin/powerpc-linux-ld << EOF
#!/bin/bash
/usr/bin/powerpc-linux-gnu-ld $@
EOF
chmod +x /usr/bin/powerpc-linux-ld

cat >/usr/bin/powerpc-linux-as << EOF
#!/bin/bash
/usr/bin/powerpc-linux-gnu-as $@
EOF
chmod +x /usr/bin/powerpc-linux-as

See also


From the Free Pascal wiki, page "Build server", as it stood on 2022-08-16 after a change by Skalogryz, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.