Re: [fpc-pascal] Different Object Code formats

2007-01-27 Thread Peter Vreman
At 13:45 27-1-2007, you wrote: Op Fri, 26 Jan 2007, schreef Felipe Monteiro de Carvalho: > On 1/26/07, Peter Vreman <[EMAIL PROTECTED]> wrote: > > For Windows there is even an internal linker. If symbian uses something > > like PE coff you can maybe > > even use that one. It works for all Wind

Re: [fpc-pascal] Different Object Code formats

2007-01-27 Thread Daniël Mantione
Op Fri, 26 Jan 2007, schreef Felipe Monteiro de Carvalho: > On 1/26/07, Peter Vreman <[EMAIL PROTECTED]> wrote: > > For Windows there is even an internal linker. If symbian uses something > > like PE coff you can maybe > > even use that one. It works for all Windows targets (Win32,Win64,WinCE) >

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Felipe Monteiro de Carvalho
On 1/26/07, Peter Vreman <[EMAIL PROTECTED]> wrote: For Windows there is even an internal linker. If symbian uses something like PE coff you can maybe even use that one. It works for all Windows targets (Win32,Win64,WinCE) already. Does the internal linker support linking to .LIB files? The p

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Peter Vreman
> On 1/26/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: >> COFF is something like TIFF or AVI. Usually linkers and assembler don't make >> use >> of everythin one format supports. Best bet is to dump some object files of >> CodeWarrior and try to adapt the FPC coff backend so it is also able to

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Felipe Monteiro de Carvalho
On 1/26/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: COFF is something like TIFF or AVI. Usually linkers and assembler don't make use of everythin one format supports. Best bet is to dump some object files of CodeWarrior and try to adapt the FPC coff backend so it is also able to create CodeWa

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Felipe Monteiro de Carvalho
On 1/26/07, Matt Emson <[EMAIL PROTECTED]> wrote: Or, if CodeWarrior has an assembler (it does on some platforms, not others), it might be worth just going that route. It might well be simpler to create .s files and have codewarrior assemble and link them. Unfortunately the Symbian UIQ SDK only

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Matt Emson
> COFF is something like TIFF or AVI. Usually linkers and assembler don't make use > of everythin one format supports. Best bet is to dump some object files of > CodeWarrior and try to adapt the FPC coff backend so it is also able to create > CodeWarrior compatible coffs. Or, if CodeWarrior has an

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Florian Klaempfl
Jonas Maebe schrieb: > > On 26 jan 2007, at 11:55, Felipe Monteiro de Carvalho wrote: > >> I went througth the documentation of both gnu as and the linker, and >> both say to be using COFF format. So are there several >> compilers/linkers using different (read incompatible) interpretations >> of

Re: [fpc-pascal] Different Object Code formats

2007-01-26 Thread Jonas Maebe
On 26 jan 2007, at 11:55, Felipe Monteiro de Carvalho wrote: I went througth the documentation of both gnu as and the linker, and both say to be using COFF format. So are there several compilers/linkers using different (read incompatible) interpretations of what a coff .o file should be, all ca

[fpc-pascal] Different Object Code formats

2007-01-26 Thread Felipe Monteiro de Carvalho
Hello, This isn´t really a question about free pascal, more a general programming question, but I thougth someone here may have experience with this. On my efforts to port fpc to symbian I got to compile a simple application using my minimal symbian rtl. It´s of course assembled with GNU Assembl