我正在尝试使用Circle CI(github自动构建/测试)来构建我的i386(32位)操作系统,而Circle CI似乎使用64位。通常我使用预编译的交叉工具链,但我的代码也可以在普通的32位linux gcc上编译...
Circle CI的错误如下:
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
所以我的主要问题是如何让Cirlce CI使用32位工具链,还是必须上传我的所有交叉工具链才能使其工作?
提前致谢