I am trying to use Circle CI(github auto build/testing) to build my operating system for i386(32bit) and Circle CI seems to use 64 bit. Normally i use a pre compiled cross-toolchain but my code can also compile on a plain 32-bit linux gcc...
The error from Circle CI is as follows.
ld -Tlink.ld -arch=i386 -o ~/WaspOS/bin/WaspOS.bin boot.o ./initScreenFunc.o ./kernel.o ./stdio.o #
ld: i386 architecture of input file `boot.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `./initScreenFunc.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `./kernel.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `./stdio.o' is incompatible with i386:x86-64 output
So my main question is how do I get Cirlce CI to use a 32-bit toolchain or do I have to upload all of my cross-toolchain to get this to work?
Thanks in advance