Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <01b401c04d7f$cc5b8870$e3dc9c81@ireland.sun.com> From: "Emmanuel Blot" To: Subject: Using coff librairies Date: Mon, 13 Nov 2000 14:41:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 I would like to use GCC to compile application for the Symbian/Epoc emulator that runs native Windows code on Windows platform. The main problem is that the libraries provided with Symbian/Epoc (r5) are using the coff format: It seems that the binutils coming with cygwin are unable to deal with coff mangled name. Thus, objects produced by the i383-pc-cygwin compiler/tools cannot not be link against the Symbian libraries (issued from C++ code), since the (de)mangle-mapping cannot be achieve. Thus, I recompiled the binutils in order to support the coff format. No problem. Next, I tried to recompile the gcc suite (c, c++) with the same target (i686-pc-coff). The compilation failed at assembler level. It appears that it encounters invalid assembly declarations about alignment. I tried to compile with -S option (and -save-temps) in order to check the assembler code produced by the xgcc compiler: some .align declarations are using odd values: namely: .align 3 and .align 5. The assembler complains about "not power of 2" alignments. I've tried with the two last snapshots (egcs-2000110[16]) and the stable release. Same troubles. What can I do ? The Symbian development kit is using the VC++ compiler, but I wish to avoid this ... compiler since it is buggy, the command line syntax is awful, etc. Is there a patch/a new release of binutils that supports the coff-like mangling names ? Thanks, Emmanuel. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com