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]

What's egcs' ld's equiv of Solaris' /usr/ccs/bin/ld -M ?



I'm using egcs to compile matlab mex files. When using the kai compiler, it 
all works well when I link using the Solaris ld found in /usr/ccs/bin/ld and 
with a map directive as this:


/usr/ccs/bin/ld  -G -M/var/matlab/extern/lib/sol2/export.map etc. etc.

Now, typing /usr/ccs/bin/ld -h tells me this about the -M directive:

        [-M mapfile]    use processing directives contained in `mapfile'

What would the equivalent call syntax using, e.g., egcs' c++ as linker when 
GNU linker as part of the binutils package is used by egcs? Perhaps I need to 
specify other setup issues also, but please help me on track.

TIA,


/ChJ
# This is the symbol export map file for Solaris.  The file specifies
# that only the mexFunction symbol should have global scope, and that
# all others should be local.
# $Revision: 1.3 $
{
	global:
		mexFunction;
		mexVersion;
	local:
		*;
};

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