I was like you, bloated (no matter how I controlled my diet) and constipated throughout the whole pregnancy.
Gynae gave me medication for the constipation but it wasn’t really helpful. The one time that I had the best 💩 was before the c section, when I was given enema. Such big relief!