Hi!
I'm having problem porting project to MingW. It already compiles with
MSVC++ on Win32 and gcc on Unices.
Created during compilation has no symbols exported. I tried passing
--enable-runtime-pseudo-reloc and --export-all-symbols to libtool - same
thing :(
C:\home\serzh\src\SIM>sh libtool
On 11.08.2005 12:08, Sergey L. Kachanuk wrote:
Hi!
I'm having problem porting project to MingW. It already compiles with
MSVC++ on Win32 and gcc on Unices.
Created during compilation has no symbols exported. I tried passing
--enable-runtime-pseudo-reloc and --export-all-symbols to libtool - sa
Hi Ralf,
> Sorry for the late response, I've been away.
Once again, sorry for the late response :-).
I made the changes we talked about in our previous mails. Here are a
few notes :
- I wanted to install the freshly checked-out branch-2-0 from
CVS, in order to give real exam
Hi Sergey,
* Sergey L. Kachanuk wrote on Thu, Aug 11, 2005 at 12:37:44PM CEST:
> On 11.08.2005 12:08, Sergey L. Kachanuk wrote:
> >
> >I'm having problem porting project to MingW. It already compiles with
> >MSVC++ on Win32 and gcc on Unices.
How do you get MSVC to work? Do you use cccl? Patch
On Wed, Jul 20, 2005 at 02:23:06PM +0200, Jeremie LE HEN wrote:
> IMO, the user is confused while reading this. Furthermore, the
> first statement is wrong in regard to the example on the NetBSD box
> (burger) :
> burger$ libtool compile gcc -g -O -c foo.c
> mkdir .libs
* Patrick Welche wrote on Thu, Aug 11, 2005 at 03:09:29PM CEST:
> On Wed, Jul 20, 2005 at 02:23:06PM +0200, Jeremie LE HEN wrote:
> > IMO, the user is confused while reading this. Furthermore, the
> > first statement is wrong in regard to the example on the NetBSD box
> > (burger) :
>
Hi Patrick,
> Just to check, I just tried this:
>
> quartz% uname -s
> NetBSD
> quartz% libtool compile gcc -g -O -c foo.c
> libtool: compile: gcc -g -O -c foo.c -fPIC -DPIC -o .libs/foo.o
> libtool: compile: gcc -g -O -c foo.c -o foo.o >/dev/null 2>&1
> quartz% ls -laR
> total 16
> drwxr-xr-x
On Thu, Aug 11, 2005 at 03:41:22PM +0200, Ralf Wildenhues wrote:
> Because in general they are _not_ identical on NetBSD. Show foo.c.
Ah - it was a very simple foo.c ;-)
quartz% cat foo.c
void foo(void);
void foo(void)
{
int i;
i=0;
}
Cheers,
Patrick
___
Hi Jeremie,
* Jeremie LE HEN wrote on Thu, Aug 11, 2005 at 01:45:39PM CEST:
>
> I made the changes we talked about in our previous mails. Here are a
> few notes :
>
> - I wanted to install the freshly checked-out branch-2-0 from
> CVS, in order to give real examples of the libtool
* Jeremie LE HEN wrote on Thu, Aug 11, 2005 at 04:10:41PM CEST:
> Hi Patrick,
>
> > quartz% diff -s foo.o .libs/foo.o
> > Files foo.o and .libs/foo.o are identical
Another hint: try
---snip
int foo() { return 1; }
int bar() { return foo(); }
---snip
> I'm not a compiler guru, but as far as I can
Hi Tom,
* tom fogal wrote on Wed, Aug 10, 2005 at 09:52:07PM CEST:
> Ralf Wildenhues writes:
> >
> >Convenience libraries are just collections of objects in an archive.
> >When another libtool-created library is linked against the archive, it
> >will be added as a whole, i.e., each object in the
On Thu, Aug 11, 2005 at 04:41:46PM +0200, Ralf Wildenhues wrote:
> They also have position-independent relocations.
> Try 'objdump -x' on my above example.
Ah yes:
.libs/foo.o:
RELOCATION RECORDS FOR [.text]:
OFFSET TYPE VALUE
0019 R_386_GOTPC _GLOBAL_OFFSET_TABLE_
0
12 matches
Mail list logo