Page 2 of 4

Posted: Thu Sep 06, 2007 4:00 am
by HJED
alright i got it running now i get this error

Code: Select all

owner@HARRYS-VISTA /c/cross/binutils-src
$ configure --prefix=install --target=i386-elf --disable-nls -v
configure: error: can not find sources in . or ..
what am i doing wrong?
also what type of elf (i386 , i586, ect) should i use?
i am witting my kernel (based on above tutorial) 4 a intel IA-32e type prossesore if that helps

Posted: Thu Sep 06, 2007 4:48 pm
by HJED
plz help i am a noob and i don`t no what i am doing wrong :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:

Posted: Fri Sep 07, 2007 1:40 am
by JamesM
plz help i am a noob and i don`t no what i am doing wrong Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad
You know you posted that followup only 48 minutes later, don't you?!?!

Posted: Fri Sep 07, 2007 2:51 am
by HJED
yes i posted it because no one was repling

Posted: Fri Sep 07, 2007 3:07 am
by Combuster
I gave you the answer in the other thread, but since you asked for it:
READ READ READ READ and READ AGAIN

Posted: Fri Sep 07, 2007 4:11 am
by HJED
i did read the document i dose not explain any of the above questions

Posted: Fri Sep 07, 2007 3:43 pm
by Combuster
I did read the document i dose not explain any of the above questions
Apparently not:
1. it told you to use Cygwin, you didn't read it.
2. it gave you the exact commands, you didn't copy it.
3. it provided you with an appropriate target, you still bother to ask.
So I stick with my opinion that you should RTFM. Again.

After all that, I even wonder wether you read my private message :shock:

Posted: Fri Sep 07, 2007 5:13 pm
by HJED
PostPosted: 06 09 2007 2:54 am Post subject:

You can't run configure from a Windows (or DOS) command prompt.
If you're using MinGW you should try installing MSYS (download here) and using the included shell to run it.
i did do that which is an equvilant of cywin configure runs but it gets an error
aka different problem?
can some1 plz help me

Posted: Fri Sep 07, 2007 7:27 pm
by frank
Are you sure you extracted all of the files?

Posted: Fri Sep 07, 2007 8:16 pm
by HJED
yes
i downloaded the gcc soures from the MinGW site is that that a problem?
i downloaded
binuntils.(add lots of numbers her).src
gcc_core.src or somthing like that and the g++ src

Posted: Fri Sep 07, 2007 8:21 pm
by frank
Maybe you should try the ones at http://ftp.gnu.org/gnu/

Posted: Fri Sep 07, 2007 8:23 pm
by HJED
arn`t those for linux?
becouse i am using widows

Posted: Fri Sep 07, 2007 9:55 pm
by pcmattman
HJED wrote:arn`t those for linux?
becouse i am using widows
Source is platform independent... If you're using Cygwin (mingw has some issues with osdev) then you can build and run programs that are made to run on *nix systems anyway - I know because I run squidGuard without any problems and I built that from source :D.

Posted: Sat Sep 08, 2007 12:11 am
by HJED
thanks now atlest it runs
but i get this error

Code: Select all

owner@HARRYS-VISTA /c/cc/binutils-2.17
$ configure --target=$TARGET --prefix=$PREFIX --enable-64-bit-bfd
loading cache ./config.cache
checking host system type... i686-pc-mingw32
checking target system type... x86_64-pc-elf
checking build system type... i686-pc-mingw32
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
my path is

Code: Select all

$ $PATH
sh: .:/usr/local/bin:/mingw/bin:/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Program: No such file or directory
what am i doing wrong this time y can`t it find my compiler?
PS i am using MSYS as a comandline and MinGW as my compiler set

Posted: Sat Sep 08, 2007 7:32 am
by Brynet-Inc
This same problem was in another thread.... *sigh*

http://www.osdev.org/phpBB2/viewtopic.php?t=14894

The last post tells you what you need to get..... :roll: