Re: Gcc On Solaris Sparc Versus Solaris Intel: Repost With ErrorInformation Included Thomas Dineen wrote:
> Gentle People?
>
> I am currently running gcc 3.1 on both my Ultra 5
> Solaris 8 Sparc machine and on Solaris 8 Intel machine.
> The C source code that compiles and executes perfectly on
> the Ultra 5 will not compile on the Intel machine!
>
Have you tried a more recent gcc or Sun Studio? The code you posted
looks clean, assuming UF_SIZE is defined and you include the header for
exec_struct_sun.
Otherwise, check to see if there are any incorrect conditional
compilation macros that exclude exec_struct_sun. Sometimes developers
wrongly assume Solaris==Sparc in conditional includes.
--
Ian Collins. |