This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: cygwin windows to linux cross compiler issues !!


mohanlal jangir wrote:
I could succeed to build cygwin windows to linux cross compiler. Binaries
seems to be almost ok as I am able to compile many applications perfectly.
While cross compiling linux kernel, I encountered one problem:
   addl 16(%esp), %eax    adcl 12(%esp), %eax    adcl %edx, %eax    adcl $0,

See http://gcc.gnu.org/bugs.html for info on how to report bugs. We need a testcase for instance.


I'm guessing that this is an extended asm in the linux sources which use \n to separate instructions. It is arguable whether this is a linux bug or a gcc bug. Maybe the asms should use \;, or maybe gcc should catch \n in an asm string and translate it. Probably gcc has to change here. It is hard to justify a linux kernel source change to support MS Windows. I'd suggest a bug report, or you could try writing a patch.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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