Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Compilers question
@ 2002-01-16 19:02 Rabeeh Khoury
  2002-01-17 13:41 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Rabeeh Khoury @ 2002-01-16 19:02 UTC (permalink / raw)
  To: linux-mips

Hi All,

This is not MIPS Linux issue, but I couldn't find out a better place to 
post it :)

I have an application I'v compiled with certain toolchain (for MIPS and 
other targets), and I want to distribute the application in binary (no 
loadable modules or dynamic linked libraries, just plain C files with 
headers files that gives out certain API - sort of a low level driver 
for hardware access only).

What I need to know, is how I can make sure that when another person 
gets my binaries he can link them with his application and work well ?

The factors that I can identify till now are two -
1.. Distribute the binary in ELF format (are there any compilers that
don't support ELF ? )
2.. Compile the binary that it is ABI compliant

Please add more factors that should be checked, or even suggest another 
approach to overcome this problem (other than I get the other person 
tool chain and compile the sources myself).

Thank you a lot,
Rabeeh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compilers question
  2002-01-16 19:02 Compilers question Rabeeh Khoury
@ 2002-01-17 13:41 ` Alan Cox
  2002-01-17 13:41   ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2002-01-17 13:41 UTC (permalink / raw)
  To: Rabeeh Khoury; +Cc: linux-mips

> The factors that I can identify till now are two -
> 1.. Distribute the binary in ELF format (are there any compilers that
> don't support ELF ? )
> 2.. Compile the binary that it is ABI compliant
> 
> Please add more factors that should be checked, or even suggest another 
> approach to overcome this problem (other than I get the other person 
> tool chain and compile the sources myself).

Assuming you plan to ship just the binary

3. Ensure you also either ship .o files or you avoid using libc, ld.so and any
other LGPL components (license requirements). 

4. Check you use no GPL libraries (normally not likely)

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compilers question
  2002-01-17 13:41 ` Alan Cox
@ 2002-01-17 13:41   ` Alan Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-01-17 13:41 UTC (permalink / raw)
  To: Rabeeh Khoury; +Cc: linux-mips

> The factors that I can identify till now are two -
> 1.. Distribute the binary in ELF format (are there any compilers that
> don't support ELF ? )
> 2.. Compile the binary that it is ABI compliant
> 
> Please add more factors that should be checked, or even suggest another 
> approach to overcome this problem (other than I get the other person 
> tool chain and compile the sources myself).

Assuming you plan to ship just the binary

3. Ensure you also either ship .o files or you avoid using libc, ld.so and any
other LGPL components (license requirements). 

4. Check you use no GPL libraries (normally not likely)

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-17 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-16 19:02 Compilers question Rabeeh Khoury
2002-01-17 13:41 ` Alan Cox
2002-01-17 13:41   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox