Skip to contentSkip to conversation

bFLT build in precompiled ARM enviroment

Buildroot Marco 2 participants 4 messages Dec 17, 2007

lore
Share & tools
lore

Marco

author
#0 lore raw

hello list,

i've an running ARM enviroment, i downloaded the precompiled ARM buildroot system. now i want to build a "hello worl" bFLT binary. however, ive found that compiling bFLT should be something like:
gcc hw.c -elf2flt
it spits out an error about the entry point, however compiles to the end and is executeable. if i do "file" on the binary it signs it as an "ELF" file. so elf2flt was not working i guess.
can someone tell/link me how to build bflt binaries, is it possible with the precompiled enviroment anyway?

thanx

#1 lore raw

| hello list,
| 
| i've an running ARM enviroment, i downloaded the precompiled ARM
| buildroot system. 

I am not aware that there is such a thing like a precompiled ARM buildroot system.

now i want to build a "hello worl" bFLT binary.
| however, ive found that compiling bFLT should be something like:
| gcc hw.c -elf2flt

No, the way to build any application,m is to add
a directory to the "package" directory and then
add a "<package>.mk" and a "Config.in" file in that directory.

| it spits out an error about the entry point, however compiles to the end
| and is executeable. if i do "file" on the binary it signs it as an "ELF"
| file. so elf2flt was not working i guess.
| can someone tell/link me how to build bflt binaries, is it possible with
| the precompiled enviroment anyway?
| 
| thanx

If you want to use jst the toolchain generated by buildroot for somthing else, then you are probably sending the mail to the wrong mailing list.

Best Regards
Ulf Samuelsson

author
#2 lore raw
Quoted 1 line

I am not aware that there is such a thing like a precompiled ARM

buildroot system.
hm, do i mix something here up?
http://www.uclibc.org/toolchains.html
http://www.uclibc.org/downloads/root_fs_arm.ext2.bz2

Quoted 1 line

No, the way to build any application,m is to add a directory to the

"package" directory and then >add a "<package>.mk" and a "Config.in" file in that directory.
uhm. ok. you can point me to documentataion about that?

marco

Quoted 32 lines · Ulf Samuelsson
| hello list,
| 
| i've an running ARM enviroment, i downloaded the precompiled ARM
| buildroot system. 

I am not aware that there is such a thing like a precompiled ARM buildroot system.

now i want to build a "hello worl" bFLT binary.
| however, ive found that compiling bFLT should be something like:
| gcc hw.c -elf2flt

No, the way to build any application,m is to add
a directory to the "package" directory and then
add a "<package>.mk" and a "Config.in" file in that directory.

| it spits out an error about the entry point, however compiles to the end
| and is executeable. if i do "file" on the binary it signs it as an "ELF"
| file. so elf2flt was not working i guess.
| can someone tell/link me how to build bflt binaries, is it possible with
| the precompiled enviroment anyway?
| 
| thanx

If you want to use jst the toolchain generated by buildroot for somthing else, then you are probably sending the mail to the wrong mailing list.

Best Regards
Ulf Samuelsson

#3 lore raw

| >I am not aware that there is such a thing like a precompiled ARM
| buildroot system.
| hm, do i mix something here up?
| http://www.uclibc.org/toolchains.html
| http://www.uclibc.org/downloads/root_fs_arm.ext2.bz2

That is a root file system.
I think you have to create a cross compiler to be able to compile more.

| >No, the way to build any application,m is to add a directory to the
| "package" directory and then >add a "<package>.mk" and a "Config.in"
| file in that directory.
| uhm. ok. you can point me to documentataion about that?

Download the main tree from buildroot.uclibc.org
and look in the doc directory.

| 
| marco
| 
| Ulf Samuelsson schrieb:
| > | hello list,
| > | 
| > | i've an running ARM enviroment, i downloaded the precompiled ARM
| > | buildroot system. 
| >
| > I am not aware that there is such a thing like a precompiled ARM buildroot system.
| >
| > now i want to build a "hello worl" bFLT binary.
| > | however, ive found that compiling bFLT should be something like:
| > | gcc hw.c -elf2flt
| >
| > No, the way to build any application,m is to add 
| > a directory to the "package" directory and then
| > add a "<package>.mk" and a "Config.in" file in that directory.
| >
| >
| > | it spits out an error about the entry point, however compiles to the end
| > | and is executeable. if i do "file" on the binary it signs it as an "ELF"
| > | file. so elf2flt was not working i guess.
| > | can someone tell/link me how to build bflt binaries, is it possible with
| > | the precompiled enviroment anyway?
| > | 
| > | thanx
| >
| > If you want to use jst the toolchain generated by buildroot for somthing
| > else, then you are probably sending the mail to the wrong mailing list.
| >
| >
|

Best Regards
Ulf Samuelsson