Simple GCC question
the very very simple question that anybody but me could
figure out is can GNU CC make 16 bit code? |
Does your compiler's target processor support 16-bit code? If it does, it should either be default or there should be a gcc flag specific to the target. If not, you'll probably need a cross-compiler.
Kevin Barry |
how do i setup a cross compiler for the 16 bit architechure
in windows or linux? |
Quote:
|
Creating a cross-compiler is something I never actually succeeded at. It can be done with gcc in Linux, but it's not an easy thing to do. CLFS has instructions for creating a cross-compiler, which might be of help. As far as I know, you'll at least need kernel headers for your target processor to compile a cross-libc, which is incidentally required. Your other alternative (a much simpler one) is to find a C compiler for your target architecture. Just for my info, what's the target processor?
Kevin Barry |
Quote:
|
There must be an existing cross-compiler for that. You just need to find one that works with your development machine.
Kevin Barry |
All times are GMT -5. The time now is 12:35 PM. |