Can I build a binary without source code and only by linking other binaries

buildship

(jonathan velez) #1

I am building two components that produce binaries.

components{
binary1(NativeBinary){
{ source code…}
{linkage…}
}
}
binary2(NativeBinary){
{ source code…}
{linkage…}
}
}
binary3(NativeBinary){
{NO source code…}
{linkage…//here I want to link the binaries from binary1 and binary2 and create
//a third binary( binary 3) with some unique flags and symbol definitions.
}
}
}

I want to create a third executable but only from linked binaries, if possible, how can I accomplish this???

Thank you!