Re: OT: eclipse on x86_64 compile for x86?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Coert Waagmeester wrote:
> Hello all,
>
> Have installed eclipse 3.5 x86_64 from the eclipse site, with CDT and QT
> integration.
>
>
> I am just starting to learn C++ but I would like to know how to set up
> the ability to compile for 32 bit as well?
>   


specify -m32 as a gcc (or g++ or c++) compile time option, and use the 
libraries in */lib rather than */lib/64

this has nothing to do with eclipse, eclipse is a Java IDE, this is 
plain gcc/makefile stuff.    It also has nothing to do with CentOS.


 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux