Keresés

Új hozzászólás Aktív témák

  • Jester01

    veterán

    válasz The DJ #14087 üzenetére

    Nem ismerem azt a konkrét gcc verziót, de gondolom a dokumentációja vagy a helpje megmondja. Az általános MIPS opciók a leírás szerint:

    -march=arch
    Generate code that will run on arch, which can be the name
    of a generic MIPS ISA, or the name of a particular processor.
    The ISA names are: `mips1', `mips2', `mips3', `mips4', `mips32', `mips32r2',
    `mips64' and `mips64r2'. The processor names are: `4kc', `4km', `4kp', `4ksc',
    `4kec', `4kem', `4kep', `4ksd', `5kc', `5kf', `20kc', `24kc', `24kf2_1', `24kf1_1',
    `24kec', `24kef2_1', `24kef1_1', `34kc', `34kf2_1', `34kf1_1', `74kc', `74kf2_1',
    `74kf1_1', `74kf3_2', `loongson2e', `loongson2f', `m4k', `octeon', `orion',
    `r2000', `r3000', `r3900', `r4000', `r4400', `r4600', `r4650', `r6000', `r8000',
    `rm7000', `rm9000', `r10000', `r12000', `r14000', `r16000', `sb1', `sr71000',
    `vr4100', `vr4111', `vr4120', `vr4130', `vr4300', `vr5000', `vr5400', `vr5500'
    and `xlr'. The special value `from-abi' selects the most compatible architecture
    for the selected ABI (that is, `mips1' for 32-bit ABIs and `mips3' for 64-bit ABIs).

    Hogy neked melyik kell, azt nem tudom. Mint ahogy azt sem, hogy ez segít-e. Ha nem, akkor meg kell keresni az ntohs definícióját. Feltehetőleg valamelyik rendszer headerben, de az is lehet, hogy a fordítani kívánt programban van saját (rossz) verzió belőle.

    MOD: a build rendszerbe feltehetőleg a CXXFLAGS és CFLAGS változókon keresztül lehet beadni.

Új hozzászólás Aktív témák