autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [configure.ac/uClinux] Adding code for fork/vfork?


From: Mike Frysinger
Subject: Re: [configure.ac/uClinux] Adding code for fork/vfork?
Date: Sat, 16 Apr 2011 14:35:27 -0400
User-agent: KMail/1.13.6 (Linux/2.6.37.3; KDE/4.6.0; x86_64; ; )

On Saturday, April 16, 2011 05:26:37 Gilles wrote:
> On Fri, 15 Apr 2011 18:41:41 -0400, Mike Frysinger wrote:
> >so change it to #ifdef
> 
> The whole point of my question was: opkg's gz_open.c contains the
> following code:
> ============
> if (uClinux) {
>       *pid = vfork();
> } else {
>       *pid = fork();
> }
> ============
> 
> IOW, it appears that it was (re)written to run on Linux kernels that
> uses vfork() instead of fork() just fine.
> 
> So instead of modifying that type of _code_ manually, I'd like to
> modify the 2010 Blackfin _toolchain_ so, instead of having the linker
> stop dead with an error...

opkg is broken.  fix opkg with ifdefs.  it's really that simple.
-mike

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]