2015-12-04 14:25 GMT+01:00 Larissa Braz <[email protected]>:
> Hi Walter,
>
>  Thanks for answer me. However, my goal isn't to run bb. Actually, I wanna
> to automatically analyse bb code, specifically the git commit history of
> certain files what makes compile the whole project time consuming. For this
> reason, I'm trying to discover if it is possible to compile a unique file
> using gcc.
>
> Thanks in advance,

I don't know if I get what you mean, but once you've built the project
once, you can just call make shell/ash.o to rebuild a single object
file.

>
> 2015-12-03 11:22 GMT-03:00 walter harms <[email protected]>:
>>
>> hi Larissa,
>> you have the wrong idea: 1 file -> 1 program does not work in busybox.
>>
>> try the following totaly untested way:
>>
>> make allnoconfig
>>
>> (you may need a "make menuconfig" after that)
>> this will disable all feature etc.
>>
>> then you get a menu what you need to adjust bb to your needs.
>> (e.g. selecting ash under shells)
>> then try
>>
>> make
>>
>> this should build bb with ash enabled only.
>>
>> re,
>>  wh
>>
>>
>> Am 03.12.2015 15:07, schrieb Larissa Braz:
>> > Hi,
>> >
>> >  I'm compiling an unique busybox file using gcc, however I'm getting
>> > some
>> > problems while trying to. I'm using the following command on MacOS:
>> >
>> > gcc -ferror-limit=0 -Iinclude /shell/ash.c
>> >
>> > gcc output example:
>> >
>> > shell/ash.c:6187:21: error: expected expression
>> >
>> >         IF_ASH_BASH_COMPAT(const char *repl = NULL;)
>> >
>> >
>> > Is there any way this is possible?
>> >
>> > Thanks in advance,
>> >
>> >
>> >
>> > _______________________________________________
>> > busybox mailing list
>> > [email protected]
>> > http://lists.busybox.net/mailman/listinfo/busybox
>> _______________________________________________
>> busybox mailing list
>> [email protected]
>> http://lists.busybox.net/mailman/listinfo/busybox
>
>
>
>
> --
> Larissa Braz
>
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox



-- 
Best regards,
Bartosz Golaszewski
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to