This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to install a new cross-compiler for VxWorks?
- From: wei dot caihua at zte dot com dot cn
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 13 Dec 2002 15:04:46 +0800
- Subject: How to install a new cross-compiler for VxWorks?
Hi!
I am porting a program to VxWorks. There are many '#pragma pack(1)'
and '#pragma pack(0)' in this program.
I've tried to use ¡®#pragma packed¡¯ instead of '#pragma pack(1)' under
VxWorks 5.4 which use GCC 2.7.2, but it doesn¡¯t work!
I know ¡®__attribute__ ((packed))¡¯ can handle this, but there are too
many files to be changed. So I¡¯m planning to config and make a new
cross-compiler instead of the old one.
Could you please tell me how to config and install in detail? My host
is Intel Pentium 4 and Windows2000, and my target is PowerPC.
For some reason, I can't use FTP and news group, please mail to me
directly.
Thank you for your patience!
C.H.Wayne 2002/12/13