----- Original Message ----- From: "Yvan Castilloux" <[email protected]> To: <[email protected]> Sent: Tuesday, June 13, 2006 12:29 AM Subject: Re: [Mspgcc-users] Making and adding a library without msp430-ar
> Hi Grant, > > Thanx for your reply. > > My main goal is to create a library with which a user cannot recreate the C > code. I thought there was function other than ar to achieve this. > To all intents and purposes, you cannot re-create C code from object code. If you have full, detailed debugging information with the object code then a skilled programmer code get some information out. So the easy answer is to compile your modules without any debugging flags (-g) enabled. If you additionally make sure that all symbols (functions and data) that are not exported are declared static (good practice anyway), then these symbols will be hidden too. mvh., David > Thanx for suggesting the function strip. If I have any problem, I will send > an email. > > Yvan > > > >From: Grant Edwards <[email protected]> > >Reply-To: "GCC for MSP430 - http://mspgcc.sf.net" > ><[email protected]> > >To: [email protected] > >Subject: Re: [Mspgcc-users] Making and adding a library without msp430-ar > >Date: Mon, 12 Jun 2006 21:51:33 +0000 (UTC) > > > >On 2006-06-12, Yvan Castilloux <[email protected]> wrote: > > > > > I would like to know how to create a library of type .dll in > > > windows and then link it into a project with msp430-gcc. > > > >I don't think you can do that. > > > > > I don't want to use msp430-ar since anybody can see the C code > > > variables and recreate the C code. > > > >Not if strip the object modules. > > > > > When calling msp430-gcc, I believe I have to set linker > > > options with -Wl. > > > >Yes, -Wl is how you set linker options. > > > > > I would like to create a static library. > > > >You use msp430-ar for that. > > > > > Does anybody have a solution? > > > >I don't think I understand the problem. > > > >-- > >Grant Edwards grante Yow! I'm continually > > at AMAZED at > >th'breathtaking > > visi.com effects of WIND > >EROSION!! > > > > > > > >_______________________________________________ > >Mspgcc-users mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > > > > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > >
