This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling program for SparcClassic


Hello list,

I would like to compile OpenSSH and make it run in
SparcClassic(Solaris 2.6). However my compilation
machine is Sun Ultra 2(Solaris 2.6) with GCC 3.0.1.

According to the manual, gcc has the option
"-mcpu=cpu_type" where cpu_type can be `v7',
`cypress', `v8', `supersparc', `sparclite',
`hypersparc', `sparclite86x', `f930', `f934',
`sparclet', `tsc701', `v9', and `ultrasparc'.

For my case, which value should I use so that it can
compile in Ultra2(Solaris 2.6) and run in
SparcClassic(Solaris 2.6) ? Besides the "-mcpu"
option, what other options are necessary to make it
work ?

Thank you





__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]