This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Question about little and big endian
- To: bug-gcc at gnu dot org
- Subject: Question about little and big endian
- From: Miguel Zarazua <mazarazx at level1 dot com>
- Date: Thu, 07 Sep 2000 14:08:43 -0700
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.