Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Problem compiling software developed on linux on OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling software developed on linux on OSX



On Mon, 2006-05-22 at 19:23 -0700, Gavin Sherlock wrote:
> Hi Terry,
>
> Many thanks for the answers.  The particular lines from the Makefile
> where the problem occurs are:
>
> ${LIBG2C}: ${LIBG2C_OBJS}
> 	${ECHO} making $@
> 	${CC} -shared -o $@ ${JNI_INCLUDES} ${LIBG2C_OBJS} ${LDFLAGS}

you probably want to use -dynamiclib instead of -shared. You'll have to
change the LIBG2C to end in .dylib instead of .so too.

Peter

Attachment: signature.asc
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problem compiling software developed on linux on OSX (From: Gavin Sherlock <email@hidden>)
 >Re: Problem compiling software developed on linux on OSX (From: Terry Lambert <email@hidden>)
 >Re: Problem compiling software developed on linux on OSX (From: Gavin Sherlock <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.