Porting GCC to new target

Dara Hazeghi dhazeghi@yahoo.com
Fri Nov 14 07:17:00 GMT 2003


Hello,

the error you're getting is most likely because you're
trying to use the x86 assembler on assembly code for
your new target. This won't work.

You'll need an assembler (and linker) for your new
target, otherwise the a gcc port you make won't be any
real use, since you'll have no methods of turning gcc
assembly into executables for your target.

If you already have such an assembler, and gcc isn't
finding it, the options
--with-as=/path/to/my/assembler and  --with-ld=/...
may be useful (see
<http://gcc.gnu.org/install/configure.html> for more
info. on these options, and many others).

Cheers,

Dara



__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



More information about the Gcc-help mailing list