This is the mail archive of the gcc-bugs@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]

Question about little and big endian


Hi, I'm using an ultra 10  Solaris system.
I want to compile with gcc my C program in both little and big endian
modes.
I tried with -mlittle-endian,
-mbig-endian,-mlittle,-mbig,-mwords-little-endian,-EL,-EB,-ml and -mb
options but the compiler tell me "invalid option  'little-endian" (for
example).

I compile in the following way

gcc file.c -outname -mlittle-endian  (for example)


If you can help me ,I would appreciatte.
Thanks for your attention.

Miguel Angel Zarazua.




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