[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: genarating map files for libraries
From: |
Ralf Wildenhues |
Subject: |
Re: genarating map files for libraries |
Date: |
Wed, 20 Jan 2010 21:32:08 +0100 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hello Prokash,
* Prokash Sinha wrote on Tue, Jan 19, 2010 at 07:28:30PM CET:
> I've an open source project that I'm trying to port to Mac os X. The project
> builds a shared library ( i.e. dylib). It builds fine, but I can't seem to
> generate the map file.
>
> I was trying to insert some linker flags in the Makefile.in like the
> following -
>
> -Wl,-map,foo.map
>
> -Wl,-Map -Wl, foo.map
>
> but libtool's link step is flagging error saying foo.map file or directory
> does not exist.
Well, libtool does not create your map file itself; you need to ensure
that it exists. You shouldn't have a space in the command line before
foo.map. If these hints don't help you, then I suggest you post the
output of the failing 'make' command.
Cheers,
Ralf