LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-04-2003, 06:05 PM   #1
muneebs123
LQ Newbie
 
Registered: Sep 2003
Posts: 23

Rep: Reputation: 15
Angry MIME settings for a c++ file


i used to work on red hat linux 7.2 in c++. There was no error as to what ever was the file name or extension was..........
now i am using mandrake linux ..... now if the file has some different extension than .c/.cpp then the error that file format is not recognized comes out. I wanted to ask isnt that the magic number that decides the file type.......please comment on that waiting anxiously
 
Old 09-04-2003, 09:39 PM   #2
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: MIME settings for a c++ file

Quote:
Originally posted by muneebs123
i used to work on red hat linux 7.2 in c++. There was no error as to what ever was the file name or extension was..........
now i am using mandrake linux ..... now if the file has some different extension than .c/.cpp then the error that file format is not recognized comes out. I wanted to ask isnt that the magic number that decides the file type.......please comment on that waiting anxiously

Could you be a tad more specific? Are you talking about an IDE where this is happening, or just gcc?
 
Old 09-05-2003, 12:54 AM   #3
muneebs123
LQ Newbie
 
Registered: Sep 2003
Posts: 23

Original Poster
Rep: Reputation: 15
yup i am using gcc the default gcc in both the cases.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp file settings matthewa Linux From Scratch 1 06-07-2005 11:36 PM
Determining MIME Type of a File Jose Muņiz Linux - General 2 08-16-2004 01:44 AM
gvim settings file ? moetman Linux - Software 1 03-02-2004 02:02 PM
MIME settings in redhat 7.2 muneebs123 Red Hat 0 09-04-2003 06:14 PM
Mime type settings saravanan1979 Linux - Newbie 0 04-15-2002 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration