This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: some problem about cross C language from Linux to PC win98


Brendan Simon <bsimon@ctam.com.au> writes:
> 
> I don't know anything about DevC++.  If you want to compile the same programs
>  on
> multiple platforms (linux, pc, etc) then you must write your programs in a
> portable manner.  Use standard ANSI header files to system headers.  If you m
> ust
> use specific header files for DevC++ modules then you should so something lik
> e
> #ifdef DEV_C and #endif around the specific parts.  Substitute DEV_C with
> whatever your compiler defines.

FYI DevC++ is just an IDE for Mingw32 GCC (I don't know what version of
GCC it's shipping with now however). Since it's specific to windows, it
obviously needs to go for a linux-hosted win32-targeted cross compiler.

Regards,
Mumit


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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