razdan@chanakya.oakhill.uucp (Anshuman Razdan) (03/16/90)
I am trying to use Cross compiler on a DN10k running SR10.1 and I have the 6.7 pmx version of the C compiler. My problem is (besides incorrect documentation) that when I try to X compile for 68XXX architecture, I add the following to the CFLAGS. -A -cpu m68k. This results in correct compilation for the 68xxx arrch (I can see doing file on the object module created and it says 68xxx file). The problem is when the same option is passed to the linker for binding. No options or combinations thereof like -A -cpu,4000 etc. work. It just reports a fatal error on the commandline to the linker. Due to the paper work not complete(we have a huge bureaucratic establishment that takes some time to do the contract paperwork for support), I can't ask apollo, so pl. help if you have any pointers. Ofcourse, I am running it from a Cshell, invoking the bsd compiler(i.e. not /com/cc) and using make t do it. Thanx a bunch Anshuman Razdan All opinions are my own and donot reflect the opinions of my employer.