Cygwin : error: no 8-bit type
Cygwin : error: no 8-bit type
Hi guys ,
i don't now if i'm on the correct forum or not ...
i just downloaded all packages as mentioned http://wiki.osdev.org/GCC_Cross-Compiler and done all the steps about setup and other things
but when i type "make all" , bash start working as expected until it displays this error message :
checking for type equivalent to int8_t... configure: error: no 8-bit type
the hole bash text after typing the "make all" command is in attachement for those who want it
please help me
(sorry for my bad english)
i don't now if i'm on the correct forum or not ...
i just downloaded all packages as mentioned http://wiki.osdev.org/GCC_Cross-Compiler and done all the steps about setup and other things
but when i type "make all" , bash start working as expected until it displays this error message :
checking for type equivalent to int8_t... configure: error: no 8-bit type
the hole bash text after typing the "make all" command is in attachement for those who want it
please help me
(sorry for my bad english)
- Attachments
-
- cygwinerr.txt
- (6.25 KiB) Downloaded 104 times
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
Re: Cygwin : error: no 8-bit type
As always when autoconfig balks at something, the actually more interesting output is in the file config.log. About 50% of the time, the error message you see on the screen tells only half of the story.
config.log contains your configure parameters (so we can check *them* for anything unusual), and lists exactly how autoconfig tried to check for a int8_t, and why it thinks there isn't any.
PS: Please, no colored text. Some of us use differently colored themes.
config.log contains your configure parameters (so we can check *them* for anything unusual), and lists exactly how autoconfig tried to check for a int8_t, and why it thinks there isn't any.
PS: Please, no colored text. Some of us use differently colored themes.
Every good solution is obvious once you've found it.
Re: Cygwin : error: no 8-bit type
ah , sorrt about the coloring stuff i didn't now
there one little detail : there is 3 directorie in my /build-binutils dir each dir contain a file
so i renamed them like this : dirname-config.log
i've zipped the 3 files
hope this may help you help me
thanks man
there one little detail : there is 3 directorie in my /build-binutils dir each dir contain a file
so i renamed them like this : dirname-config.log
i've zipped the 3 files
hope this may help you help me
thanks man
- Attachments
-
- cygwin-log.zip
- (32.54 KiB) Downloaded 123 times
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
Re: Cygwin : error: no 8-bit type
Have you bothered to take a look at the files yourself?
And behold, a second look at your configure output shows (check first and last line specifically):
So, either you don't have GCC installed, or you have tweaked your system to prefer the MS compiler over GCC.
The tutorial assumes you're using GCC.
Code: Select all
configure:15938: cl -o conftest.exe -g conftest.c >&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
Command line warning D4002 : ignoring unknown option '-g'
conftest.c
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
Code: Select all
checking for i686-pc-cygwin-gcc... cl
checking for C compiler default output file name... conftest.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... obj
checking whether we are using the GNU C compiler... no
The tutorial assumes you're using GCC.
Every good solution is obvious once you've found it.
Re: Cygwin : error: no 8-bit type
sorry for late response ,
i have installed Visual Studios 6.0 (vb , vc++ , FoxPro ...) a few days ago
and yesterday i installed cygwin + make + + bison + flex but not gcc
when i install gcc it displays another error message at the binutils config phase
it looks that the config file is confused between gcc that came with cygwin and the one i have installed
dsl I'm a beginner and a little confused
the file in attachment contain the text that apears in bash (in file cygwinerr.txt) and the config.log
there is 1 log file only this time .
thanks for your help
i have installed Visual Studios 6.0 (vb , vc++ , FoxPro ...) a few days ago
and yesterday i installed cygwin + make + + bison + flex but not gcc
when i install gcc it displays another error message at the binutils config phase
it looks that the config file is confused between gcc that came with cygwin and the one i have installed
dsl I'm a beginner and a little confused
the file in attachment contain the text that apears in bash (in file cygwinerr.txt) and the config.log
there is 1 log file only this time .
thanks for your help
- Attachments
-
- Cygwin-gcc-err.zip
- (3.88 KiB) Downloaded 102 times
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
Re: Cygwin : error: no 8-bit type
Well, it seems your environment is pretty much FUBAR. In your Cygwin shell, you now have three compilers in your executable path - the Microsoft one, the MinGW one, and the Cygwin GCC.
Well, what could I say?
Clean up!
If you don't know how to do that, I seriously suggest you refrain from trying your hand at OS development, and instead do some more application development until you become competent in handling your toolchains.
Well, what could I say?
Clean up!
If you don't know how to do that, I seriously suggest you refrain from trying your hand at OS development, and instead do some more application development until you become competent in handling your toolchains.
Every good solution is obvious once you've found it.
Re: Cygwin : error: no 8-bit type
notice that i'm a begginer to os devlopement but
i have a collection of program that i've done in vb & asm (nasm ,fasm , masm)
i'm now cleaning-up my system
ok ,thanks anyway , but if yuo can help me more just to get started , that would be great
this is a great forum
i have a collection of program that i've done in vb & asm (nasm ,fasm , masm)
i'm now cleaning-up my system
ok ,thanks anyway , but if yuo can help me more just to get started , that would be great
this is a great forum
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
Re: Cygwin : error: no 8-bit type
This is a subject of dispute among the regulars on this board - whether or not it's a wise decision to do the hardest thing there is in software engineering (an operating system) in an environment you're not proficiently familiar with. Although I was pretty "green" myself when I set out on my OS project those long nine years ago, today I am a firm believer that you shouldn't.
Think a while about whether it wouldn't be more interesting to learn C/C++ in userspace, where you don't need emulators, failures don't generate reboots and the toolchain support is much, much better.
If you still think you should go for OS development without further ado, try hard to put as much effort into finding your solutions yourself as possible. Some around here react poorly to questions that could've been answered by ten minutes of research. (I mean, even poorer than I do. )
If you do show that effort, rest assured you will find help and guidance here should you meet a roadblock.
Think a while about whether it wouldn't be more interesting to learn C/C++ in userspace, where you don't need emulators, failures don't generate reboots and the toolchain support is much, much better.
If you still think you should go for OS development without further ado, try hard to put as much effort into finding your solutions yourself as possible. Some around here react poorly to questions that could've been answered by ten minutes of research. (I mean, even poorer than I do. )
If you do show that effort, rest assured you will find help and guidance here should you meet a roadblock.
Last edited by Solar on Thu Jul 15, 2010 8:05 am, edited 1 time in total.
Every good solution is obvious once you've found it.
Re: Cygwin : error: no 8-bit type
OK thanks Solar you give me a big help
so now I've found the wrong thing...
it was the vc98/bin directory which contain cl.exe , and it was in my path variable
anyway thanks man
one more thing , I'm very familiar with C/C++ but I've not wrote much apps in these languages ...
so , yes , I'll try to go ahead and put the situations like this out of my way
so now I've found the wrong thing...
it was the vc98/bin directory which contain cl.exe , and it was in my path variable
anyway thanks man
one more thing , I'm very familiar with C/C++ but I've not wrote much apps in these languages ...
so , yes , I'll try to go ahead and put the situations like this out of my way
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
Re: Cygwin : error: no 8-bit type
C++ is a language where "familiar" can mean very different things. Grouping C and C++ gives me the feeling you should study up on regular software more first. Make a webserver, mail client, minor compiler and such. Kernel-space <any language> assumes you know <any language> incredibly well and then gives you your hands full of new stuff.TheBadBoy wrote:I'm very familiar with C/C++ but I've not wrote much apps in these languages ...
Re: Cygwin : error: no 8-bit type
Ok guys
i'm sure your more expert than me in this things i'll take your advices gracefully
it seem that the clean-up/resetup works fine , but i'm leaving , i'll do some other things to get more expert as Solar and Candy says
thanks guys
i'm sure your more expert than me in this things i'll take your advices gracefully
it seem that the clean-up/resetup works fine , but i'm leaving , i'll do some other things to get more expert as Solar and Candy says
thanks guys
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
- Firestryke31
- Member
- Posts: 550
- Joined: Sat Nov 29, 2008 1:07 pm
- Location: Throw a dart at central Texas
- Contact:
Re: Cygwin : error: no 8-bit type
Okay, I know this has nothing to do with 99% of this thread, but...
Eeewww. Use at very least VC++08 Express. It's free and far more modern standards compliant than 6.0. They even have 2010 Express out, though the IDE for that is a bit bloated.TheBadBoy wrote: i have installed Visual Studios 6.0 (vb , vc++ , FoxPro ...) a few days ago
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Cygwin : error: no 8-bit type
I'm more worried about the fact that he installed a compiler a few days ago.
Did you know....
(I have the idea this applies to you)
Did you know....
(I have the idea this applies to you)
Re: Cygwin : error: no 8-bit type
you're right guys
it was the Vc++ 6.0 that confuses with the other (cl.exe) .
i removed the vc++ path from my path variable and reinstalled cygwin correctly , and all worked like a charm
but now i'm moving to get more experienced with c++ .
thanks guys
it was the Vc++ 6.0 that confuses with the other (cl.exe) .
i removed the vc++ path from my path variable and reinstalled cygwin correctly , and all worked like a charm
but now i'm moving to get more experienced with c++ .
thanks guys
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity
Re: Cygwin : error: no 8-bit type
Hi guys!
I've found a book in my school's library teaching the C language , so I've started reading and discovered many new things .To practice , I've took a look at the C bare bones tuto , and wrote a kernel that does 2 things
Clear the screen , Print a hello message in protected mode
it's just to practice . it's loaded by grub .
so i was thinking if someone of you may take a look at my source code and tell me some thins about my programming/writing manner , some advices ....
so the source and the an boot image are included in the attachment .
Thanks guys
I've found a book in my school's library teaching the C language , so I've started reading and discovered many new things .To practice , I've took a look at the C bare bones tuto , and wrote a kernel that does 2 things
Clear the screen , Print a hello message in protected mode
it's just to practice . it's loaded by grub .
so i was thinking if someone of you may take a look at my source code and tell me some thins about my programming/writing manner , some advices ....
so the source and the an boot image are included in the attachment .
Thanks guys
- Attachments
-
- ngos.rar
- (56.77 KiB) Downloaded 112 times
The WORLD is RELATIVE .
http://en.wikipedia.org/wiki/Theory_of_relativity
http://en.wikipedia.org/wiki/Theory_of_relativity