A method of producing at least one target nucleic acid having a predefined sequence, the method comprising: a) providing a first plurality of double-stranded anchor oligonucleotides having a first plurality of overhangs, wherein the anchor oligonucleotides are attached to a support, and wherein the first plurality of overhangs are designed to be relatively mutually orthogonal to each other; b) providing a first plurality of double-stranded construction oligonucleotides having a second plurality of overhangs and a third plurality of overhangs, wherein the second plurality of overhangs are designed to be complementary to the first plurality of overhangs, wherein the second plurality of overhangs are designed to be relatively mutually orthogonal to each other, and wherein the third plurality of overhangs are designed to be relatively mutually orthogonal to each other; c) hybridizing the first plurality of overhangs with the second plurality of overhangs and ligating the double-stranded anchor oligonucleotides with the double-stranded construction oligonucleotides to form a second plurality of double-stranded anchor oligonucleotides with the third plurality of overhangs; and d) repeating steps a)-c), using the second plurality of double-stranded anchor oligonucleotides and a second plurality of double-stranded construction oligonucleotides having a fourth and fifth plurality of overhangs, wherein the fourth plurality of overhangs are designed to be complementary to the third plurality of overhangs, wherein the fourth plurality of overhangs are designed to be relatively mutually orthogonal to each other, and wherein the fifth plurality of overhangs are designed to be relatively mutually orthogonal to each other_thereby generating the at least one target nucleic acid. a) providing a first plurality of double-stranded anchor oligonucleotides having a first plurality of overhangs, wherein the anchor oligonucleotides are attached to a support, and wherein the first plurality of overhangs are designed to be relatively mutually orthogonal to each other; b) providing a first plurality of double-stranded construction oligonucleotides having a second plurality of overhangs and a third plurality of overhangs, wherein the second plurality of overhangs are designed to be complementary to the first plurality of overhangs, wherein the second plurality of overhangs are designed to be relatively mutually orthogonal to each other, and wherein the third plurality of overhangs are designed to be relatively mutually orthogonal to each other; c) hybridizing the first plurality of overhangs with the second plurality of overhangs and ligating the double-stranded anchor oligonucleotides with the double-stranded construction oligonucleotides to form a second plurality of double-stranded anchor oligonucleotides with the third plurality of overhangs; and d) repeating steps a)-c), using the second plurality of double-stranded anchor oligonucleotides and a second plurality of double-stranded construction oligonucleotides having a fourth and fifth plurality of overhangs, wherein the fourth plurality of overhangs are designed to be complementary to the third plurality of overhangs, wherein the fourth plurality of overhangs are designed to be relatively mutually orthogonal to each other, and wherein the fifth plurality of overhangs are designed to be relatively mutually orthogonal to each other_thereby generating the at least one target nucleic acid.