can Linux-2.4.27-VRS1 works with gcc 3.4?

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

atemken
Posts: 3
Joined: Tue Apr 05, 2005 8:47 pm

can Linux-2.4.27-VRS1 works with gcc 3.4?

Wed Apr 06, 2005 12:57 am

I will use RVDS 2.2, but RVDS 2.2 only interworks with gcc 3.4.
can Linux-2.4.27-VRS1 works with gcc 3.4?
what eles do I need?
ulf
Location: Sweden
Posts: 134
Joined: Wed Feb 18, 2004 5:53 pm

Tue Apr 12, 2005 7:28 am

I think the recommended version to compile Linux 2.4.27-vrs1
is gcc-2.95.3
Best Regards
Ulf Samuelsson
nahas.sylvain
Posts: 5
Joined: Wed Jun 29, 2005 6:36 pm

can Linux-2.4.27-VRS1 works with gcc 3.4?

Tue Jul 05, 2005 10:54 am

The answer is Linux-2.4.27-VRS1 can not compile with GCC version 3.4 and older.

The reason is GCC 2.4 has changed its policy about inlined functions : functions declared as inlined but without actual body generate compile time errors. And such declarations are to be found in the headers of the kernel in some place.
You may find a patch around that correct the kernel source code.

Anyway, Linux-2.4.27-VRS1 compiles very well with GCC 3.3.6

Return to “LINUX”

Who is online

Users browsing this forum: Google [Bot] and 3 guests